Page 1 of 1

Gui borders

Posted: Mon May 22, 2017 12:01 am
by kikker450
Hi there,
I've been building a GUI mod and run into a GUI breaking problem:
Sample tree 3.png
Sample tree 3.png (2.39 MiB) Viewed 1121 times
To explain what exactly is happening here: there is al table with one column which is filled horizontal flowcharts which is in turn filled with sprites and empty sprites. All with fixed minimum and maximum widths and heights. Because there is no coordinate system I used the children of each element to define the measurements of the parent so that everything spaces out nicely. Or so I thought.

As you can see by the red boxes I put there the elements in the GUI don't quite line up. This is because there is a invisible frame around every element which means that when I specify a certain maximum_width it's not really going to be that width. So if A row contains less items it has less width than a row with more items purely because of the borders every item has. Could you please add a way to disable those frames or specify their width?

If that's not worth your time could you at least provide me with the exact measurements currently used so I can math them out of my GUI? The alternative is making a grid which would be time-consuming.