forked from your-land-mirror/minetest-flow
Improve checkbox alignment in /flow-example
This commit is contained in:
parent
6509cba73c
commit
3b095ef9bb
14
example.lua
14
example.lua
@ -194,12 +194,14 @@ local my_gui = flow.make_gui(function(player, ctx)
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
gui.HBox{
|
gui.HBox{
|
||||||
gui.Checkbox{name = "expand", label = "Expand"},
|
gui.VBox{
|
||||||
gui.Checkbox{name = "vbox", label = "Use vbox instead of hbox"},
|
gui.Checkbox{name = "expand", label = "Expand"},
|
||||||
},
|
gui.Checkbox{name = "box2", label = "Second box"},
|
||||||
gui.HBox{
|
},
|
||||||
gui.Checkbox{name = "box2", label = "Second box"},
|
gui.VBox{
|
||||||
gui.Checkbox{name = "expand_box2", label = "Expand second box"},
|
gui.Checkbox{name = "vbox", label = "Use vbox instead of hbox"},
|
||||||
|
gui.Checkbox{name = "expand_box2", label = "Expand second box"},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
try_it_yourself_box,
|
try_it_yourself_box,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user