improve auto dimensions

This commit is contained in:
airstruck
2015-12-09 13:33:45 -05:00
parent 5e6cd8c29e
commit bcfed7b737
5 changed files with 47 additions and 19 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
return { style = 'dialog',
{ style = 'dialogHead', text = 'About LUIGI' },
{ style = 'dialogBody', align = 'left middle', padding = 24, icon = 'logo.png', text = [[
{ style = 'dialogBody', padding = 24, icon = 'logo.png', text = [[
Lovely User Interfaces for Game Inventors
Copyright (c) 2015 airstruck
+9 -8
View File
@@ -36,24 +36,25 @@ return {
height = 400,
},
dialogHead = {
type = 'panel',
height = 40,
size = 16,
align = 'middle center',
height = 22,
size = 16,
type = 'panel',
},
dialogBody = {
wrap = true,
padding = 4,
align = 'left middle',
font = 'font/DejaVuSansMono.ttf',
padding = 4,
wrap = true,
},
dialogFoot = {
type = 'panel',
flow = 'x',
height = 40,
height = 'auto',
type = 'panel',
padding = 4,
},
dialogButton = {
type = 'button',
width = 100,
margin = 4,
}
}