diff options
author | MacDue <macdue@dueutil.tech> | 2022-07-24 14:45:30 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-24 15:10:01 +0100 |
commit | 42a7dc9fe2c32ec103ecf6acbccf7cfc53022995 (patch) | |
tree | a31f2e100f6e9a5e6a424d69f683b4b83670a851 /Userland | |
parent | 6148fd4ed5e324438f20ca98a29c330adc48ee87 (diff) | |
download | serenity-42a7dc9fe2c32ec103ecf6acbccf7cfc53022995.zip |
MouseSettings: Show highlight toggle shortcut and new layout tweaks
This now shows the shortcut to enable mouse pointer highlighting below
the preview. The GML has also been updated to take advantage of the new
layout features rather than using fixed heights.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/MouseSettings/Highlight.gml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Userland/Applications/MouseSettings/Highlight.gml b/Userland/Applications/MouseSettings/Highlight.gml index f5d98b0f4b..59d25bdc30 100644 --- a/Userland/Applications/MouseSettings/Highlight.gml +++ b/Userland/Applications/MouseSettings/Highlight.gml @@ -11,27 +11,33 @@ fixed_height: 136 } + @GUI::Label { + autosize: true + text: "Shortcut: Super+H" + preferred_height: "shrink" + } + @GUI::GroupBox { title: "Highlight color" - fixed_height: 80 + preferred_height: "opportunistic_grow" layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 } - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::ColorInput { name: "highlight_color_input" has_alpha_channel: false } - @GUI::Widget {} + @GUI::Layout::Spacer {} } @GUI::GroupBox { title: "Highlight opacity" - fixed_height: 80 + preferred_height: "opportunistic_grow" layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 @@ -65,7 +71,7 @@ @GUI::GroupBox { title: "Highlight size" - fixed_height: 80 + preferred_height: "opportunistic_grow" layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 |