diff options
author | MacDue <macdue@dueutil.tech> | 2023-05-14 10:42:47 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-15 06:40:18 +0200 |
commit | 741f07dedf92bf2b64774784585684acb16f642b (patch) | |
tree | 0a4e0ed95c3bb889fc387e7e9c3b0dbdf576c391 | |
parent | 9685d542912edf160a49556468cc994759f01031 (diff) | |
download | serenity-741f07dedf92bf2b64774784585684acb16f642b.zip |
LibGUI: Increase the min width of the vertical opacity slider
This prevents the <opacity>% text on the slider being clipped.
-rw-r--r-- | Userland/Libraries/LibGUI/OpacitySlider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/OpacitySlider.cpp b/Userland/Libraries/LibGUI/OpacitySlider.cpp index fc9c36a097..1e58f49b40 100644 --- a/Userland/Libraries/LibGUI/OpacitySlider.cpp +++ b/Userland/Libraries/LibGUI/OpacitySlider.cpp @@ -185,7 +185,7 @@ void OpacitySlider::mousewheel_event(MouseEvent& event) Optional<UISize> OpacitySlider::calculated_min_size() const { if (orientation() == Gfx::Orientation::Vertical) - return { { 22, 40 } }; + return { { 33, 40 } }; return { { 40, 22 } }; } |