mirror of
https://github.com/airstruck/luigi.git
synced 2026-02-22 03:46:52 -07:00
style system overhaul
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user