Page 1 of 1

[kovarex] [16.22][Minor] Volatile GUI elem xpos(affected by left elem)

Posted: Fri Feb 02, 2018 4:21 pm
by user19990313
The x pos of a GUI group(elements) will be affected by the xMax pos of the GUI group(elements) on its left.
In Advance tab of the map generating config window, the length of GUI group to the left varies while dragging bars & changing the number labels. 0 is the shortest and 9999 is (almost) the longest.
Screen capture of demostration
Screen capture of demostration
gui.gif (648.62 KiB) Viewed 2435 times
Here, the starting x pos of the group to the right keeps changing, this block of GUI flashing and shaking.

Well, this is quite a minor issue... You could try to parse the volatile part of the GUI group (in this case, parse the width of "0"~"9999" and save the maximum width("9999")), and fix the x pos of the second group with this parsing value thus pinning the whole GUI group.

Re: [16.22][Minor] Volatile GUI elem xpos(affected by left elem)

Posted: Fri Feb 02, 2018 4:24 pm
by user19990313
Pls move this post into Minor Issues module.

Re: [kovarex] [16.22][Minor] Volatile GUI elem xpos(affected by left elem)

Posted: Fri Mar 02, 2018 3:08 pm
by kovarex
Thanks for the notice, it is fixed for the next version.