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

@ -15,7 +15,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
margins: [8, 8, 6, 16]
}
@ -38,7 +38,7 @@
title: "Screen settings"
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
@ -64,7 +64,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
@ -84,6 +84,8 @@
text: "2x"
fixed_width: 50
}
@GUI::Layout::Spacer {}
}
}
}