-
Notifications
You must be signed in to change notification settings - Fork 10
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
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
- Set a "width" at the UISpace
- Set
ColumnConstrainsat the MigLayout - Place them in a RowLayout, and tried to modify that RowLayout
- Use "span 8" at the UISpace to span it 8 cells
- Use "cell [column] [row] [width] [height]" where the "[ ]" contain numbers, the cells were arranged correctly, but the width and height didn't change
- Removed the "dock south" from the second MigLayout (L167) and placed it at the bottom with a width 3 and re-done the above methods, all failed
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

