mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +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
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ void OpacitySlider::mousewheel_event(MouseEvent& event)
|
||||||
Optional<UISize> OpacitySlider::calculated_min_size() const
|
Optional<UISize> OpacitySlider::calculated_min_size() const
|
||||||
{
|
{
|
||||||
if (orientation() == Gfx::Orientation::Vertical)
|
if (orientation() == Gfx::Orientation::Vertical)
|
||||||
return { { 22, 40 } };
|
return { { 33, 40 } };
|
||||||
return { { 40, 22 } };
|
return { { 40, 22 } };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue