1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

LibGUI+Applications: Use the new layout system in the settings screens

This commit is contained in:
FrHun 2022-02-22 20:01:20 +01:00 committed by Sam Atkins
parent 3978960481
commit a6ec2b9d0a
8 changed files with 35 additions and 38 deletions

View file

@ -28,22 +28,20 @@
@GUI::IconView {
name: "wallpaper_view"
preferred_width: "opportunistic_grow"
}
@GUI::Widget {
shrink_to_fit: true
preferred_width: "fit"
layout: @GUI::VerticalBoxLayout {}
@GUI::Button {
name: "wallpaper_open_button"
tooltip: "Select wallpaper from file system"
text: "Browse..."
shrink_to_fit: true
}
@GUI::Widget {
fixed_height: 12
}
@GUI::Layout::Spacer {}
@GUI::Label {
text: "Mode:"
@ -55,9 +53,7 @@
name: "mode_combo"
}
@GUI::Widget {
fixed_height: 12
}
@GUI::Layout::Spacer {}
@GUI::Label {
text: "Color:"