mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
8081a8a5de
This is a bit of a hack, but it is an easy way to finally get spacers into GML. This will translate well if spacers are later to become child objects of the continer widget.
43 lines
868 B
Plaintext
43 lines
868 B
Plaintext
@GUI::Widget {
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {}
|
|
|
|
@GUI::ImageWidget {
|
|
name: "banner"
|
|
auto_resize: true
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [8, 8, 8, 8]
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "username"
|
|
placeholder: "Username"
|
|
}
|
|
|
|
@GUI::PasswordBox {
|
|
name: "password"
|
|
placeholder: "Password"
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
@GUI::Label {
|
|
name: "fail_message"
|
|
text_alignment: "CenterLeft"
|
|
}
|
|
|
|
@GUI::Layout::Spacer {}
|
|
|
|
@GUI::Button {
|
|
name: "log_in"
|
|
text: "Log in"
|
|
fixed_width: 60
|
|
}
|
|
}
|
|
}
|
|
}
|