mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Network: Make the applet use an alpha channel
This commit is contained in:
parent
3f73816316
commit
1f65c2a981
Notes:
sideshowbarker
2024-07-18 20:45:55 +09:00
Author: https://github.com/d1823 Commit: https://github.com/SerenityOS/serenity/commit/1f65c2a981a Pull-request: https://github.com/SerenityOS/serenity/pull/6140
1 changed files with 1 additions and 1 deletions
|
@ -219,9 +219,9 @@ int main(int argc, char* argv[])
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_title(name);
|
||||
window->set_window_type(GUI::WindowType::Applet);
|
||||
window->set_has_alpha_channel(true);
|
||||
window->resize(16, 16);
|
||||
auto& icon = window->set_main_widget<NetworkWidget>(display_notifications);
|
||||
icon.set_fill_with_background_color(true);
|
||||
icon.load_from_file("/res/icons/16x16/network.png");
|
||||
window->resize(16, 16);
|
||||
window->show();
|
||||
|
|
Loading…
Reference in a new issue