mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
ClipboardHistory: Make the applet use an alpha channel
This commit is contained in:
parent
f7184e967e
commit
3f73816316
1 changed files with 1 additions and 1 deletions
|
@ -93,9 +93,9 @@ int main(int argc, char* argv[])
|
|||
auto applet_window = GUI::Window::construct();
|
||||
applet_window->set_title("ClipboardHistory");
|
||||
applet_window->set_window_type(GUI::WindowType::Applet);
|
||||
applet_window->set_has_alpha_channel(true);
|
||||
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
|
||||
icon.load_from_file("/res/icons/16x16/edit-copy.png");
|
||||
icon.set_fill_with_background_color(true);
|
||||
icon.on_click = [&main_window = *main_window] {
|
||||
main_window.show();
|
||||
main_window.move_to_front();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue