mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibGUI+PixelPaint: Port GUI::ValueSlider's suffix to the new String
This commit is contained in:
parent
c4507bb56e
commit
67ffc687d8
18 changed files with 30 additions and 29 deletions
|
@ -81,7 +81,7 @@ GUI::Widget* WandSelectTool::get_properties_widget()
|
|||
threshold_label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
threshold_label.set_fixed_size(80, 20);
|
||||
|
||||
auto& threshold_slider = threshold_container.add<GUI::ValueSlider>(Orientation::Horizontal, "%");
|
||||
auto& threshold_slider = threshold_container.add<GUI::ValueSlider>(Orientation::Horizontal, String::from_utf8_short_string("%"sv));
|
||||
threshold_slider.set_range(0, 100);
|
||||
threshold_slider.set_value(m_threshold);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue