mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
Spreadsheet: Replace the help button's text with something we can render
This commit is contained in:
parent
91444de2cf
commit
82dde46a30
Notes:
sideshowbarker
2024-07-17 22:53:59 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/82dde46a306 Pull-request: https://github.com/SerenityOS/serenity/pull/10991
|
@ -42,7 +42,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets, bool s
|
|||
auto& current_cell_label = top_bar.add<GUI::Label>("");
|
||||
current_cell_label.set_fixed_width(50);
|
||||
|
||||
auto& help_button = top_bar.add<GUI::Button>("🛈");
|
||||
auto& help_button = top_bar.add<GUI::Button>("i");
|
||||
help_button.set_fixed_size(20, 20);
|
||||
help_button.on_click = [&](auto) {
|
||||
if (!m_selected_view) {
|
||||
|
|
Loading…
Reference in a new issue