mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibGUI: Replace up and down arrows with emoji
This commit is contained in:
parent
80699a0824
commit
d18f6e82eb
4 changed files with 8 additions and 8 deletions
|
@ -44,12 +44,12 @@ SpinBox::SpinBox()
|
|||
};
|
||||
m_increment_button = add<Button>();
|
||||
m_increment_button->set_focusable(false);
|
||||
m_increment_button->set_text("\xc3\xb6");
|
||||
m_increment_button->set_text("\xE2\xAC\x86"); // UPWARDS BLACK ARROW
|
||||
m_increment_button->on_click = [this](auto) { set_value(m_value + 1); };
|
||||
m_increment_button->set_auto_repeat_interval(150);
|
||||
m_decrement_button = add<Button>();
|
||||
m_decrement_button->set_focusable(false);
|
||||
m_decrement_button->set_text("\xc3\xb7");
|
||||
m_decrement_button->set_text("\xE2\xAC\x87"); // DOWNWARDS BLACK ARROW
|
||||
m_decrement_button->on_click = [this](auto) { set_value(m_value - 1); };
|
||||
m_decrement_button->set_auto_repeat_interval(150);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue