summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-05-14 10:42:47 +0100
committerAndreas Kling <kling@serenityos.org>2023-05-15 06:40:18 +0200
commit741f07dedf92bf2b64774784585684acb16f642b (patch)
tree0a4e0ed95c3bb889fc387e7e9c3b0dbdf576c391
parent9685d542912edf160a49556468cc994759f01031 (diff)
downloadserenity-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.cpp2
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 } };
}