mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
Launcher: Let's use CoolBar style buttons in here for now.
This will be helpful for testing the hover events.
This commit is contained in:
parent
d353c7c3d6
commit
af7eb5c89c
Notes:
sideshowbarker
2024-07-19 15:40:00 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/af7eb5c89c9
@ -38,6 +38,7 @@ public:
|
||||
: GButton(parent)
|
||||
, m_executable_path(exec_path)
|
||||
{
|
||||
set_button_style(GButtonStyle::CoolBar);
|
||||
set_icon(GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, icon_path, { 32, 32 }));
|
||||
resize(50, 50);
|
||||
on_click = [this] (GButton&) {
|
||||
|
Loading…
Reference in New Issue
Block a user