diff options
author | Linus Groh <mail@linusgroh.de> | 2020-08-15 17:24:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-15 17:38:19 +0200 |
commit | 2e5c434e22c8f03ebbb16a95c9e8bc88b2a76500 (patch) | |
tree | 91207fe770efafdd97810a7b23232d3afc80c465 /Userland/test-web.cpp | |
parent | 0cab3bca2fb743f6bdc1e138b9f084cfcb42c7e4 (diff) | |
download | serenity-2e5c434e22c8f03ebbb16a95c9e8bc88b2a76500.zip |
Misc: Use automatic window positioning in more applications
This is a follow up to #2936 / d3e3b4ae56aa79d9bde12ca1f143dcf116f89a4c.
Affected programs:
- Applications: Browser (Download, View source, Inspect DOM tree, JS
console), Terminal (Settings)
- Demos: Cube, Eyes, Fire, HelloWorld, LibGfxDemo, WebView,
WidgetGallery
- DevTools: HackStudio, Inspector, Profiler
- Games: 2048, Minesweeper, Snake, Solitaire
- Userland: test-web
A few have been left out where manual positioning is done on purpose,
e.g. ClipboardManager (to be close to the menu bar) or VisualBuilder (to
preserve alignment of the multiple application windows).
Diffstat (limited to 'Userland/test-web.cpp')
-rw-r--r-- | Userland/test-web.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/test-web.cpp b/Userland/test-web.cpp index d1db25b2dd..e8082483ca 100644 --- a/Userland/test-web.cpp +++ b/Userland/test-web.cpp @@ -649,7 +649,7 @@ int main(int argc, char** argv) if (show_window) { window->set_title("LibWeb Test Window"); - window->set_rect(100, 100, 640, 480); + window->resize(640, 480); window->show(); } |