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

This subforum contains all the issues which we already resolved.
Post Reply
user19990313
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Feb 02, 2018 3:38 pm
Contact:

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

Post 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 2420 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.

user19990313
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Feb 02, 2018 3:38 pm
Contact:

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

Post by user19990313 »

Pls move this post into Minor Issues module.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thanks for the notice, it is fixed for the next version.

Post Reply

Return to “Resolved Problems and Bugs”