1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +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

@ -6,7 +6,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@ -17,14 +17,13 @@
text_alignment: "CenterLeft"
}
@GUI::Frame {
@GUI::Label {
background_role: "Base"
shadow: "Sunken"
shape: "Container"
thickness: 2
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "default_font_label"
}
name: "default_font_label"
}
@GUI::Button {
@ -35,7 +34,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@ -46,14 +45,13 @@
text_alignment: "CenterLeft"
}
@GUI::Frame {
@GUI::Label {
background_role: "Base"
shadow: "Sunken"
shape: "Container"
thickness: 2
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "fixed_width_font_label"
}
name: "fixed_width_font_label"
}
@GUI::Button {
@ -63,5 +61,5 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}