mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 02:44:58 +00:00

This fixes the "Cancel" button on HackStudio's "New Project" dialog being too small. It's also clearer what these actually are.
57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
@GUI::Widget {
|
|
fixed_width: 260
|
|
fixed_height: 85
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [4]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 24
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
@GUI::Label {
|
|
text: "Title:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_width: 30
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "title_textbox"
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 24
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
@GUI::Label {
|
|
text: "URL:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_width: 30
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "url_textbox"
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 24
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
@GUI::Layout::Spacer {}
|
|
|
|
@GUI::Button {
|
|
name: "ok_button"
|
|
text: "OK"
|
|
fixed_width: 75
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "cancel_button"
|
|
text: "Cancel"
|
|
fixed_width: 75
|
|
}
|
|
}
|
|
}
|