Hi, I have test an interface "setup" without understanding why this happen and without chance to get the wanted behaviour.
This is the situations:
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:
Label:
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:
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.
[0.18.x] GUI flow auto-size have unpredictable beheviour
[0.18.x] GUI flow auto-size have unpredictable beheviour
- Attachments
-
- Booktorio_1.1.1.zip
- (27.98 KiB) Downloaded 116 times
Re: [0.18.x] GUI flow auto-size have unpredictable beheviour
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
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
Re: [0.18.x] GUI flow auto-size have unpredictable beheviour
If the content size of gui elements can be readable I can fix this manually in my interface.
viewtopic.php?f=28&t=83286
viewtopic.php?f=28&t=83286
Re: [0.18.x] GUI flow auto-size have unpredictable beheviour
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.