Files
love-luigi/example/style.lua
2015-12-07 04:22:36 -05:00

57 lines
1.1 KiB
Lua

return {
short = {
height = 48,
},
toolbar = {
style = 'short',
},
toolButton = {
align = 'center middle',
width = 48,
slices = function (self)
return self.focused and 'defer'
or self.hovered and 'defer'
or false
end
},
statusbar = {
align = 'left middle',
},
listThing = {
style = 'short',
align = 'left middle',
outline = { 200, 200, 200 },
height = 120,
padding = 8,
icon = 'icon/32px/Box.png',
wrap = true,
},
-- dialog styles
dialog = {
type = 'submenu',
width = 600,
height = 400,
},
dialogHead = {
type = 'panel',
height = 40,
size = 16,
align = 'middle center',
},
dialogBody = {
wrap = true,
padding = 4,
font = 'font/DejaVuSansMono.ttf',
},
dialogFoot = {
type = 'panel',
flow = 'x',
height = 40,
},
dialogButton = {
type = 'button',
width = 100,
margin = 4,
}
}