ladybird/Userland/Applications/DisplaySettings/FontSettings.gml
Andreas Kling 548081ea23 Userland+Base: Make the window titlebar font configurable separately
Instead of defaulting to "bold variant of the system default font",
let's allow the user to set any font they want as the titlebar font.
2022-08-01 10:29:53 +02:00

94 lines
2.1 KiB
Plaintext

@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [8]
spacing: 8
}
@GUI::Widget {
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@GUI::Label {
fixed_width: 100
text: "Default font:"
text_alignment: "CenterLeft"
}
@GUI::Label {
background_role: "Base"
shadow: "Sunken"
shape: "Container"
thickness: 2
fill_with_background_color: true
name: "default_font_label"
}
@GUI::Button {
text: "..."
name: "default_font_button"
fixed_width: 30
}
}
@GUI::Widget {
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@GUI::Label {
fixed_width: 100
text: "Window title font:"
text_alignment: "CenterLeft"
}
@GUI::Label {
background_role: "Base"
shadow: "Sunken"
shape: "Container"
thickness: 2
fill_with_background_color: true
name: "window_title_font_label"
}
@GUI::Button {
text: "..."
name: "window_title_font_button"
fixed_width: 30
}
}
@GUI::Widget {
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@GUI::Label {
fixed_width: 100
text: "Fixed-width font:"
text_alignment: "CenterLeft"
}
@GUI::Label {
background_role: "Base"
shadow: "Sunken"
shape: "Container"
thickness: 2
fill_with_background_color: true
name: "fixed_width_font_label"
}
@GUI::Button {
text: "..."
name: "fixed_width_font_button"
fixed_width: 30
}
}
@GUI::Layout::Spacer {}
}