mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
Applications: Stop setting initial window location
This will let the WindowManager choose the location of the window
This commit is contained in:
parent
5ae9eee4a3
commit
4bf4a071a6
17 changed files with 14 additions and 17 deletions
|
@ -121,7 +121,7 @@ int main(int argc, char** argv)
|
|||
auto bookmarks_bar = Browser::BookmarksBarWidget::construct(Browser::bookmarks_filename, bookmarksbar_enabled);
|
||||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_rect(100, 100, 640, 480);
|
||||
window->resize(640, 480);
|
||||
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-browser.png"));
|
||||
window->set_title("Browser");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue