app :: SecondWindow :: defaultinit
# Another window with a small `VerticalLayout`
class SecondWindow
super Window
# Root layout
var layout = new VerticalLayout(parent=self)
# Some label
var a_label = new Label(parent=layout, text="This window uses a VerticalLayout.")
# Another label
var another_label = new Label(parent=layout, text="Close it by tapping the back button.")
end
lib/app/examples/ui_example.nit:74,1--86,3