mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
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:
parent
9685d54291
commit
741f07dedf
|
@ -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 } };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue