mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Assistant: Force the window to have a shadow despite being frameless
This commit is contained in:
parent
c2dfa9d54c
commit
085da369ff
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ int main(int argc, char** argv)
|
|||
};
|
||||
|
||||
window->set_frameless(true);
|
||||
window->set_forced_shadow(true);
|
||||
window->resize(GUI::Desktop::the().rect().width() / 3, 46);
|
||||
window->center_on_screen();
|
||||
window->move_to(window->x(), window->y() - (GUI::Desktop::the().rect().height() * 0.33));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue