2021-03-21 20:08:08 +03:00
|
|
|
@GUI::Widget {
|
|
|
|
name: "select_format"
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
Userland+LibGUI: Add shorthand versions of the Margins constructor
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same
margin on all edges, for example. The constructors follow CSS' style of
specifying margins. The added constructors are:
- Margins(int all): Sets the same margin on all edges.
- Margins(int vertical, int horizontal): Sets the first argument to top
and bottom margins, and the second argument to left and right margins.
- Margins(int top, int vertical, int bottom): Sets the first argument to
the top margin, the second argument to the left and right margins,
and the third argument to the bottom margin.
2021-08-17 03:11:38 +03:00
|
|
|
margins: [20]
|
2021-03-21 20:08:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Please double-check the guessed file type\nor select the correct one below"
|
2022-01-07 15:04:05 +03:00
|
|
|
text_alignment: "TopLeft"
|
2021-03-21 20:08:08 +03:00
|
|
|
fixed_height: 32
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 25
|
2022-02-12 20:17:01 +03:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-21 20:08:08 +03:00
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Type: "
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::ComboBox {
|
|
|
|
name: "select_format_page_format_combo_box"
|
|
|
|
model_only: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-12 20:17:01 +03:00
|
|
|
@GUI::Widget {}
|
2021-03-21 20:08:08 +03:00
|
|
|
}
|