Update objects, x backend
This commit is contained in:
@@ -21,7 +21,7 @@ func (this *Application) Init () error {
|
||||
window, err := nasin.NewApplicationWindow(this, image.Rect(0, 0, 128, 128))
|
||||
if err != nil { return err }
|
||||
|
||||
window.SetRoot(objects.NewOuterContainer(layouts.Column { },
|
||||
window.SetRoot(objects.NewOuterContainer(layouts.ContractVertical,
|
||||
objects.NewTextInput(""),
|
||||
objects.NewHorizontalSlider(0.5),
|
||||
objects.NewLabelCheckbox(false, "checkbox"),
|
||||
|
||||
Reference in New Issue
Block a user