mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
Base: Create /res/icons/serenity for misc. sized system icons
This commit is contained in:
parent
a49e0fa5d4
commit
0bb2025b69
Notes:
sideshowbarker
2024-07-19 03:05:53 +09:00
Author: https://github.com/thankyouverycool
Commit: 0bb2025b69
Pull-request: https://github.com/SerenityOS/serenity/pull/3317
9 changed files with 7 additions and 7 deletions
|
@ -168,7 +168,7 @@ RefPtr<GUI::Window> make_toolbox_window()
|
|||
auto& radiobutton_button = widget.add<GUI::Button>();
|
||||
radiobutton_button.set_button_style(Gfx::ButtonStyle::CoolBar);
|
||||
radiobutton_button.set_tooltip("GRadioButton");
|
||||
radiobutton_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/filled-radio-circle.png"));
|
||||
radiobutton_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/serenity/filled-radio-circle.png"));
|
||||
radiobutton_button.on_click = [](auto) {
|
||||
if (auto* form = VBForm::current())
|
||||
form->insert_widget(VBWidgetType::GRadioButton);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue