mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
Network: Make the applet use an alpha channel
This commit is contained in:
parent
3f73816316
commit
1f65c2a981
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…
Add table
Add a link
Reference in a new issue