mirror of
https://github.com/hbomb79/Titanium.git
synced 2025-01-22 09:22:05 -05:00
Removed fluid layout example
This commit is contained in:
parent
b03145e7e6
commit
cb9f6a6d04
1 changed files with 1 additions and 16 deletions
|
@ -60,25 +60,10 @@ completeTask()
|
||||||
]]
|
]]
|
||||||
Manager = Application():set {
|
Manager = Application():set {
|
||||||
colour = 128,
|
colour = 128,
|
||||||
backgroundColour = 256,
|
backgroundColour = 1,
|
||||||
terminatable = true
|
terminatable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
cont = Manager:addNode( Window():set { width = "15", height = "12", positioning = "fluid", backgroundColour = 1 } )
|
|
||||||
|
|
||||||
cont:addNode( Button "Hello World":set { marginRight = 1, marginBottom = 1, width = 13, height = 3 } )
|
|
||||||
cont:addNode( Label "This is a fluid layout":set( "marginRight", 1 ) )
|
|
||||||
cont:addNode( Button( "Test" ):set{ width = 6, marginRight = 1 } )
|
|
||||||
cont:addNode( Button( "Test 2" ):set{ width = 8, marginRight = 1 } )
|
|
||||||
cont:addNode( Label "Finished" )
|
|
||||||
cont:addNode( Label "This label isn't fluid":set { X = 1, Y = 19, positioning = "normal" } )
|
|
||||||
|
|
||||||
Manager:importTheme( "master", "example/ui/master.theme" )
|
|
||||||
|
|
||||||
Manager:start()
|
|
||||||
|
|
||||||
do return end
|
|
||||||
|
|
||||||
completeTask()
|
completeTask()
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
Loading…
Reference in a new issue