1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Apply Flex arrange to each child separately

This commit is contained in:
uramer 2022-04-27 22:05:39 +02:00
parent b899320e9f
commit d9b4871f0c
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ render.registerRenderer('text', function(value, set, arg)
text = value,
textColor = util.color.rgb(1, 1, 1),
textSize = 15,
textAlignV = ui.ALIGNMENT.Center,
textAlignV = ui.ALIGNMENT.End,
},
events = {
textChanged = async:callback(function(s) set(s) end),

View File

@ -115,7 +115,7 @@ local function renderGroup(group, global)
props = {
horizontal = true,
align = ui.ALIGNMENT.Start,
arrange = ui.ALIGNMENT.Center,
arrange = ui.ALIGNMENT.End,
},
content = ui.content {
{
@ -166,7 +166,7 @@ local function renderPage(page)
props = {
horizontal = true,
align = ui.ALIGNMENT.Start,
arrange = ui.ALIGNMENT.Center,
arrange = ui.ALIGNMENT.End,
},
content = ui.content {
{