mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +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
Notes:
sideshowbarker
2024-07-17 06:24:08 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/741f07dedf Pull-request: https://github.com/SerenityOS/serenity/pull/18825
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
|
||||
{
|
||||
if (orientation() == Gfx::Orientation::Vertical)
|
||||
return { { 22, 40 } };
|
||||
return { { 33, 40 } };
|
||||
return { { 40, 22 } };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue