mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +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
|
@ -154,7 +154,7 @@ GUI::Widget* RectangleTool::get_properties_widget()
|
|||
thickness_or_radius_label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
thickness_or_radius_label.set_fixed_size(80, 20);
|
||||
|
||||
auto& thickness_or_radius_slider = thickness_or_radius_container.add<GUI::ValueSlider>(Orientation::Horizontal, "px");
|
||||
auto& thickness_or_radius_slider = thickness_or_radius_container.add<GUI::ValueSlider>(Orientation::Horizontal, String::from_utf8_short_string("px"sv));
|
||||
|
||||
thickness_or_radius_slider.on_change = [&](int value) {
|
||||
if (m_fill_mode == FillMode::RoundedCorners) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue