mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
d444724d24
Registers the PreviewWidget for addition directly into GML. Fixes its previous double Frame borders. Also standardizes the Apply and Reset buttons as DialogButtons and spaces them consistently with other apps. Gives the TabWidget some tasteful container margins.
45 lines
900 B
Plaintext
45 lines
900 B
Plaintext
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [0, 4, 4]
|
|
spacing: 6
|
|
}
|
|
fill_with_background_color: true
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 4
|
|
}
|
|
|
|
@ThemeEditor::PreviewWidget {
|
|
name: "preview_widget"
|
|
}
|
|
|
|
@GUI::TabWidget {
|
|
name: "property_tabs"
|
|
container_margins: [5]
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
name: "theme_override_controls"
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 6
|
|
}
|
|
preferred_height: "shrink"
|
|
|
|
@GUI::Layout::Spacer {}
|
|
|
|
@GUI::DialogButton {
|
|
name: "reset_button"
|
|
text: "Reset"
|
|
enabled: false
|
|
}
|
|
|
|
@GUI::DialogButton {
|
|
name: "apply_button"
|
|
text: "Apply"
|
|
enabled: false
|
|
}
|
|
}
|
|
}
|