1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 02:17:34 +00:00

Base: Create /res/icons/serenity for misc. sized system icons

This commit is contained in:
thankyouverycool 2020-08-26 13:10:18 -04:00 committed by Andreas Kling
parent a49e0fa5d4
commit 0bb2025b69
9 changed files with 7 additions and 7 deletions

View file

@ -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);