LibGUI: Increase the min width of the vertical opacity slider

This prevents the <opacity>% text on the slider being clipped.
This commit is contained in:
MacDue 2023-05-14 10:42:47 +01:00 committed by Andreas Kling
parent 9685d54291
commit 741f07dedf

View file

@ -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 } };
}