mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibGUI: Replace up and down arrows with emoji
This commit is contained in:
parent
80699a0824
commit
d18f6e82eb
Notes:
sideshowbarker
2024-07-19 06:20:01 +09:00
Author: https://github.com/asliturk
Commit: d18f6e82eb
Pull-request: https://github.com/SerenityOS/serenity/pull/2304
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