[.15.3] Root Gui Elements Errors/inconsistencies
Posted: Fri Apr 28, 2017 5:37 am
First the Error
It is possible to create elements with duplicate names
Run this command a few times. It will sometimes error, sometimes add one sometimes add both after the initial run
/c game.player.gui.left.add{type="textfield", name="A", text="Left"} game.player.gui.left.add{type="textfield", name="B", text="Vertical Left?"}
Second .15.0 Patch notes state that "The goal and left gui element has default direction vertical." this is not the case. as you can see from the above created textfields
Third: Goal position was moved to below .left and it is ALSO has horizontall flow.
Expected outcome: .goal should be above .left One would expect objectives to be at the top of a list
. Additionally both should be Vertical.
Additionally @Klonan your mod_gui script only works on .left. The problem with this is if a mod uses .top Now we have 2 rows of buttons and I become a sad panda. Additionally can you add to the bottom of the mod_gui script This will have no effect on how it is currently used be will allow me to require it as a local function so I don't get linter errors ![Smile :)](./images/smilies/icon_e_smile.gif)
It is possible to create elements with duplicate names
Run this command a few times. It will sometimes error, sometimes add one sometimes add both after the initial run
/c game.player.gui.left.add{type="textfield", name="A", text="Left"} game.player.gui.left.add{type="textfield", name="B", text="Vertical Left?"}
Second .15.0 Patch notes state that "The goal and left gui element has default direction vertical." this is not the case. as you can see from the above created textfields
Third: Goal position was moved to below .left and it is ALSO has horizontall flow.
Expected outcome: .goal should be above .left One would expect objectives to be at the top of a list
![Smile :)](./images/smilies/icon_e_smile.gif)
Additionally @Klonan your mod_gui script only works on .left. The problem with this is if a mod uses .top Now we have 2 rows of buttons and I become a sad panda. Additionally can you add
Code: Select all
return mod_gui
![Smile :)](./images/smilies/icon_e_smile.gif)