1
Fork 0
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:
rhin123 2020-03-18 13:37:08 -05:00 committed by Andreas Kling
parent 5744049b74
commit 6d26714ded
3 changed files with 55 additions and 21 deletions

View file

@ -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>();