[0.14.13] gui direction does not seem to work
Posted: Fri Oct 14, 2016 1:26 pm
I'm making a mod, that for the setup-progress needs some gui work, I use a lot of the gui without any problems, but tody I got into a problem that I have not been able to fix for over three hours...
This is my gui-frame:
code that add's the labels:
where d is a string the the player's name
I took some lines from it to make it readable.
One would expect the "FT_FR_players_in_team" gui-frame to place labels into it with the give direction, vertical. it does this, but only half:
one label in it:

Two labels in it:

it seems to make space for pushing the second one down, but does not actually does that.
anyone any idea?
If you'd want the complete mod, and directions to get in this part, ask, and I'll add them.
This is my gui-frame:
Code: Select all
gui = playerdata.gui.center.FT_FR_teamsetup.FT_FL_teams_overview
gui.add{type = "frame", name = team.name, caption = team.name, direction = "vertical"}
gui[team.name].add{type = "frame", name = "FT_FR_players_in_team", caption = {"gui.players-in-this-team"}, style = "FT_FR_players_in_team", direction = "vertical"}
Code: Select all
gui.add{type = "label", name = d, caption = d}
I took some lines from it to make it readable.
One would expect the "FT_FR_players_in_team" gui-frame to place labels into it with the give direction, vertical. it does this, but only half:
one label in it:

Two labels in it:

it seems to make space for pushing the second one down, but does not actually does that.
anyone any idea?
If you'd want the complete mod, and directions to get in this part, ask, and I'll add them.