From 741f07dedf92bf2b64774784585684acb16f642b Mon Sep 17 00:00:00 2001 From: MacDue Date: Sun, 14 May 2023 10:42:47 +0100 Subject: LibGUI: Increase the min width of the vertical opacity slider This prevents the % text on the slider being clipped. --- Userland/Libraries/LibGUI/OpacitySlider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 OpacitySlider::calculated_min_size() const { if (orientation() == Gfx::Orientation::Vertical) - return { { 22, 40 } }; + return { { 33, 40 } }; return { { 40, 22 } }; } -- cgit v1.2.3