mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Base: Create /res/icons/serenity for misc. sized system icons
This commit is contained in:
committed by
Andreas Kling
parent
a49e0fa5d4
commit
0bb2025b69
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user