mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
LibGUI+Applications: Use the new layout system in the settings screens
This commit is contained in:
parent
3978960481
commit
a6ec2b9d0a
8 changed files with 35 additions and 38 deletions
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue