[0.18.x] GUI flow auto-size have unpredictable beheviour

Things that we don't consider worth fixing at this moment.
Post Reply
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

[0.18.x] GUI flow auto-size have unpredictable beheviour

Post by Linver »

Hi, I have test an interface "setup" without understanding why this happen and without chance to get the wanted behaviour.

This is the situations:
Image

They are two, labels multi-line each one inside a flow, two different flow (because they can have some multi elements an different align in line), they live inside a vertical scroll pane with a vertical spacing.
Let's see why this isn't a right behaviour. This is the first flow and label:

Flow:
Image

Label:
Image

How you can see the flow don't have the full label inside of it (and this is weird too but let's suppose that is a normal behaviour)
Now let's compare the first flow and second flow:

Image

They have the same style, and same width, containing two label with the same number of lines (that depends from the screen resolution and scale but they have two string with similar length), but in the two flows have a different behaviour!

I have attach the mod configured to reproduce this behaviour, is different from the mod that is actually uploaded on the mod portal (but they have the same version number). To see that GUI, must have Krastorio 2 v.0.9.9 installed, open the wiki with the left top button on the Krastorio 2 thread, go in the topics and open the new metal/rare metal topic.
Attachments
Booktorio_1.1.1.zip
(27.98 KiB) Downloaded 87 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.18.x] GUI flow auto-size have unpredictable beheviour

Post by Klonan »

Welcome to the GUI

We aren't going to fix things like this unless we encounter the problems in the base game GUI,
The GUI lib/system we use is just too fragile

User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Re: [0.18.x] GUI flow auto-size have unpredictable beheviour

Post by Linver »

If the content size of gui elements can be readable I can fix this manually in my interface.
viewtopic.php?f=28&t=83286

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [0.18.x] GUI flow auto-size have unpredictable beheviour

Post by ptx0 »

Klonan wrote:
Sun Apr 05, 2020 10:32 am
Welcome to the GUI

We aren't going to fix things like this unless we encounter the problems in the base game GUI,
The GUI lib/system we use is just too fragile
ouch, that's not something i ever expected to hear from a Wube developer.

i mean, you guys replaced Serpent, because it was fragile crap.

Post Reply

Return to “Won't fix.”