-
Notifications
You must be signed in to change notification settings - Fork 10
Column constraints not working under certain circumstances #23
Copy link
Copy link
Open
Labels
Revive: Keepissue has been looked at and deemed potentially helpful for reviveissue has been looked at and deemed potentially helpful for reviveStatus: Needs InvestigationRequires to be checked for feasibility, reproducability, etc.Requires to be checked for feasibility, reproducability, etc.Type: BugIssues reporting and PRs fixing problemsIssues reporting and PRs fixing problems
Description
Activity
Metadata
Metadata
Assignees
Labels
Revive: Keepissue has been looked at and deemed potentially helpful for reviveissue has been looked at and deemed potentially helpful for reviveStatus: Needs InvestigationRequires to be checked for feasibility, reproducability, etc.Requires to be checked for feasibility, reproducability, etc.Type: BugIssues reporting and PRs fixing problemsIssues reporting and PRs fixing problems
Description
The issue appeared while I was trying to set column constrains for the row with the team names at the Game Over Screen. My goal was to set widths for each of the two columns (the first column contains the UIImage and second the UILabel), reaching the following result:
What worked
I pilled up many UISpaces in the same line, which ended up squishing the rest of the elements to the side.
https://github.com/Terasology/LightAndShadow/blob/develop/overrides/engine/ui/ingame/deathScreen.ui#L131-L162
{ "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" }, { "type": "UISpace", "cc": "" },What didn't work
ColumnConstrainsat the MigLayoutFailed result:
