Fompster 141 Posted September 14, 2019 (edited) Hey, Here are some things which I think the new UI tools are missing: ~ The parent tabs open up each time the editor map is reloaded, it is time consuming and annoying to close them all up or to find where you left off. Could it be made that they remember their states or are all closed by default ~ When right clicking widget which is low down the list, the bottom part of the menu is cut off. I have so many tabs that sometimes closing all of them doesnt help ~ Can the widget ID be easier to find when using this tile (eg. removing the widgets which come from other UI's when selecting the logic) Thanks Edited September 14, 2019 by Fompster Share this post Link to post Share on other sites
Igor Q. 519 Posted September 17, 2019 To add to this list.. Can we make it possible to use numbers to recall Widget ID's? Can we make text size easier to modify using a number system and within the script? (and not small, medium, large) Share this post Link to post Share on other sites
Indomitus 388 Posted September 17, 2019 13 minutes ago, Igor Q. said: To add to this list.. Can we make it possible to use numbers to recall Widget ID's? Can we make text size easier to modify using a number system and within the script? (and not small, medium, large) There is a tile to reference the Widget using its position offset from its parent item. GET CHILD lets you link to the parent widget, but retrieve the child widget #1, or #2, or #3, and so on, to use it or modify it. I already have that built into some code for a list I want to show onscreen, coming from an array. Using the absolute ID number would probably be more of a pain than using the names. 1 Share this post Link to post Share on other sites
Igor Q. 519 Posted September 19, 2019 (edited) Another Suggestion: Please add an event for "On Close" for custom windows. Allow us to disable closing custom windows. Edited September 19, 2019 by Igor Q. Share this post Link to post Share on other sites
Adam Snellgrove 1451 Posted September 19, 2019 I'll tag Rudolf here to take a look at this ? @Rudy.cz Share this post Link to post Share on other sites
Rudy.cz 41 Posted September 19, 2019 On 9/15/2019 at 12:53 AM, Fompster said: Hey, Here are some things which I think the new UI tools are missing: ~ The parent tabs open up each time the editor map is reloaded, it is time consuming and annoying to close them all up or to find where you left off. Could it be made that they remember their states or are all closed by default ~ When right clicking widget which is low down the list, the bottom part of the menu is cut off. I have so many tabs that sometimes closing all of them doesnt help ~ Can the widget ID be easier to find when using this tile (eg. removing the widgets which come from other UI's when selecting the logic) Thanks - We have logged these issues and we will see if we can squeeze them in to 0.15 - Widget ID filtering works when you are scripting inside corresponding UI Layout -> widgets of that layout are put first. However outside of that game logic we cannot ensure this, because of technical limitations ? On 9/17/2019 at 2:21 AM, Igor Q. said: To add to this list.. Can we make it possible to use numbers to recall Widget ID's? Can we make text size easier to modify using a number system and within the script? (and not small, medium, large) - Actually widget IDs are just numbers so it should work - Text sizes are pre-defined and hard-coded in the game, because for each size there is a different font atlas (practically its different font, it just looks same). Having more fonts sizes would increase game memory load. Benefit of predefined sizes is that custom UIs will look more unified, it will scale properly on all resolutions and there will be ensured readability on any device. 5 hours ago, Igor Q. said: Another Suggestion: Please add an event for "On Close" for custom windows. Allow us to disable closing custom windows. - Both already logged as bug 1 Share this post Link to post Share on other sites
Igor Q. 519 Posted September 19, 2019 1 hour ago, Rudy.cz said: - We have logged these issues and we will see if we can squeeze them in to 0.15 - Widget ID filtering works when you are scripting inside corresponding UI Layout -> widgets of that layout are put first. However outside of that game logic we cannot ensure this, because of technical limitations ? - Actually widget IDs are just numbers so it should work - Text sizes are pre-defined and hard-coded in the game, because for each size there is a different font atlas (practically its different font, it just looks same). Having more fonts sizes would increase game memory load. Benefit of predefined sizes is that custom UIs will look more unified, it will scale properly on all resolutions and there will be ensured readability on any device. - Both already logged as bug U da best 2 Share this post Link to post Share on other sites
Indomitus 388 Posted September 19, 2019 Would it be possible to add an image widget that can display Entity images? (the icons that appear in inventory, the hot bar, etc) And able to change which image it displays through code? 1 1 Share this post Link to post Share on other sites
Igor Q. 519 Posted September 20, 2019 Just realized this, would it be possible to also input the widget location in the script editor? I want to be able to insert a grid into a custom window, however I want it to be varying depending on the number of players and the number of scenarios. Ex: 1 Share this post Link to post Share on other sites
jchob 354 Posted September 24, 2019 (edited) On 9/20/2019 at 2:11 AM, Igor Q. said: Just realized this, would it be possible to also input the widget location in the script editor? I want to be able to insert a grid into a custom window, however I want it to be varying depending on the number of players and the number of scenarios. Ex: Can't you get the widget child order for that? It would be like what is called a "matrix array", "matrice" or just "multidimensional array". Mustidimensional arrays works in a way, that you check the *line* and also the *row* (it's like a table where you have rows and lines) Edited September 24, 2019 by jchob Share this post Link to post Share on other sites
Igor Q. 519 Posted September 24, 2019 It's less about using arrays and more about creating a custom size grid. Share this post Link to post Share on other sites