mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +00:00
ClipboardHistory: Make the applet use an alpha channel
This commit is contained in:
parent
f7184e967e
commit
3f73816316
Notes:
sideshowbarker
2024-07-18 20:46:00 +09:00
Author: https://github.com/d1823
Commit: 3f73816316
Pull-request: https://github.com/SerenityOS/serenity/pull/6140
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