Hi, you were faster than me ^^
I'll have a look and update the packages accordingly,
thanks for the bug report :)
Hi there,
Thanks for the feedback, i found the bug with the panels, somehow, the sub panel doesn't find it's own sprite when trying to rescale, i made a quick and dirty fix by setting the sprite to a default value if not found, along with an error message (which you can delete if you prefer).
I'll investigate further to make it clean, in the meantime, it should work as expected.
Regarding the fonts, the "font" variable on the menu object is the font used to draw the menu's name, not the sub menu elements,
i added 3 functions to GGL_sub_container to handle the fonts:
- Set_all_fonts(font) => sets the font of the container's label and all of it's sub elements
- Set_sub_font(element, font) => sets the font of a particular element inside the container
- Set_all_sub_fonts() => sets the labels of all the sub elements inside the container
I'm not familiar with stanncam but i'll look into it, GGL relies on display_get_gui_width() and display_get_gui_height() to calculate the center position, could your camera modify the GUI size perhaps?
GGL_v1.10.0 is awailable with the aforementioned fixes!
Hey, you can drop the GUI elements directly into your scenes or you can build GUI menus by inheriting from "parent_GGL_menu",
There's a demo menu located in demo room 12, called "obj_GGL_demo_menu_inherited", check out the create event of this object, the whole menu creation process is commented.
Let me know if you have trouble setting it up.
Hey, i just found a bug that makes the app crash, on the "Burst" tab, right click on any control, then click cancel on the popup.
############################################################################################
ERROR in
action number 1
of Other Event: User Defined 2
for object obj_fl_slider_knob:
(null) argument 1 incorrect type (undefined) expecting a Number (YYGR)############################################################################################
gml_Object_obj_fl_slider_knob_Other_12 (line 4)
gml_Object_obj_fl_slider_Other_12 (line 7)
gml_Object_obj_ui_slider_hor_Step_0 (line 6)
Hi, thanks!
Of course, that's possible, in fact, now you mention it, i should have thought about that ;)
It's been added to the version 1.0.3, which is available,
You can now inherit from any preset, drag a sprite into your object and it will be drawn behind your text (you can pass an empty string (" ") to the factory function if you want the sprite without text).
Be warry that the factory function has been changed from "GFT_Create_floating_Text_ext" to "GFT_Create_floating_Text"