mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
TerminalSettings: Spruce up the "View" tab a bit
- Use sentence style capitalization for CheckBox and GroupBox titles. - Move the terminal font to the top. - Split the cursor settings into two GroupBoxes (one for the shape, and one for the blinking behavior).
This commit is contained in:
parent
df0bf51441
commit
880504e51d
Notes:
sideshowbarker
2024-07-17 02:38:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/880504e51d
1 changed files with 44 additions and 33 deletions
|
@ -6,23 +6,7 @@
|
|||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Background Opacity"
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
spacing: 8
|
||||
}
|
||||
|
||||
@GUI::HorizontalOpacitySlider {
|
||||
name: "background_opacity_slider"
|
||||
min: 0
|
||||
max: 255
|
||||
orientation: "Horizontal"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Terminal Font"
|
||||
title: "Terminal font"
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
|
@ -59,30 +43,57 @@
|
|||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Cursor Settings"
|
||||
title: "Background opacity"
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
spacing: 8
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_block"
|
||||
text: "Block cursor"
|
||||
@GUI::HorizontalOpacitySlider {
|
||||
name: "background_opacity_slider"
|
||||
min: 0
|
||||
max: 255
|
||||
orientation: "Horizontal"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
preferred_height: "shrink"
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Cursor shape"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_block"
|
||||
text: "Block"
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_underline"
|
||||
text: "Underscore"
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_bar"
|
||||
text: "Vertical bar"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_underline"
|
||||
text: "Underline cursor"
|
||||
}
|
||||
@GUI::GroupBox {
|
||||
title: "Cursor behavior"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
name: "terminal_cursor_bar"
|
||||
text: "Bar cursor"
|
||||
}
|
||||
|
||||
@GUI::CheckBox {
|
||||
name: "terminal_cursor_blinking"
|
||||
text: "Blinking cursor"
|
||||
@GUI::CheckBox {
|
||||
name: "terminal_cursor_blinking"
|
||||
text: "Blink cursor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue