[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 » Fri Feb 02, 2018 4:21 pm

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.
gui.gif
Screen capture of demostration
gui.gif (648.62 KiB) Viewed 898 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 » Fri Feb 02, 2018 4:24 pm

Pls move this post into Minor Issues module.

kovarex
Factorio Staff
Factorio Staff
Posts: 7402
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 » Fri Mar 02, 2018 3:08 pm

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

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users