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:
parent
b899320e9f
commit
d9b4871f0c
@ -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),
|
||||
|
@ -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 {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user