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

@ -7,7 +7,7 @@
@GUI::GroupBox {
title: "Bell Mode"
shrink_to_fit: false
preferred_height: "fit"
fixed_height: 160
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
@ -20,7 +20,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
spacing: 4
}
@ -44,7 +44,7 @@
@GUI::GroupBox {
title: "Scrollback Size (Lines)"
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
}
@ -64,7 +64,7 @@
@GUI::GroupBox {
title: "Exit Behaviour"
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
}

View file

@ -7,7 +7,7 @@
@GUI::GroupBox {
title: "Background Opacity"
fixed_height: 70
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
@ -23,7 +23,7 @@
@GUI::GroupBox {
title: "Terminal Font"
fixed_height: 100
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
@ -35,13 +35,14 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
name: "terminal_font_selection"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@GUI::Frame {
preferred_height: "fit"
background_role: "Base"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {}
@ -89,7 +90,7 @@
@GUI::GroupBox {
title: "Color Scheme"
fixed_height: 70
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16