style system overhaul

This commit is contained in:
airstruck
2015-11-09 17:14:40 -05:00
parent f866442cf1
commit 058d9351e5
9 changed files with 86 additions and 83 deletions
+2 -8
View File
@@ -4,10 +4,7 @@ return function (self)
self.flow = 'x' -- TODO: support vertical stepper
local decrement = self:addChild {
type = 'button',
text = '<',
align = 'middle center',
margin = 0,
type = 'stepper.left',
}
local view = self:addChild {
@@ -18,10 +15,7 @@ return function (self)
}
local increment = self:addChild {
type = 'button',
text = '>',
align = 'middle center',
margin = 0,
type = 'stepper.right',
}
self:onReshape(function (event)