mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
PixelPaint: Make gradient tool hardness slider width match other inputs
This commit is contained in:
parent
3a60ddc5a8
commit
95c571ca53
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/95c571ca53 Pull-request: https://github.com/SerenityOS/serenity/pull/18643 Reviewed-by: https://github.com/nico ✅
@ -272,6 +272,7 @@ ErrorOr<GUI::Widget*> GradientTool::get_properties_widget()
|
||||
|
||||
auto hardness_label = TRY(hardness_container->try_add<GUI::Label>(TRY("Hardness:"_string)));
|
||||
hardness_label->set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
hardness_label->set_fixed_size(80, 20);
|
||||
|
||||
auto hardness_slider = TRY(hardness_container->try_add<GUI::HorizontalOpacitySlider>());
|
||||
hardness_slider->set_range(1, 99);
|
||||
|
Loading…
Reference in New Issue
Block a user