mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
Calendar: Allow the widget to resize with the window
This commit is contained in:
parent
5744049b74
commit
6d26714ded
3 changed files with 55 additions and 21 deletions
|
@ -32,12 +32,9 @@ int main(int argc, char** argv)
|
|||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Calendar");
|
||||
window->set_rect(20, 200, 596, 476);
|
||||
//TODO: Allow proper resize
|
||||
window->set_resizable(false);
|
||||
window->set_rect(20, 200, 596, 475);
|
||||
|
||||
window->set_main_widget<CalendarWidget>();
|
||||
|
||||
window->show();
|
||||
|
||||
auto menubar = make<GUI::MenuBar>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue