From 351233f8ec5612007c64b913ed0d55f0da0ed979 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 10 Oct 2024 11:21:56 -0400 Subject: [PATCH] vmwindow: Default new window viewer size to 1280x800 This is qemu's default nowadays for modern video configs Signed-off-by: Cole Robinson --- virtManager/vmwindow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/virtManager/vmwindow.py b/virtManager/vmwindow.py index ccab57eef..894cae0de 100644 --- a/virtManager/vmwindow.py +++ b/virtManager/vmwindow.py @@ -199,15 +199,15 @@ class vmmVMWindow(vmmGObjectUI): def _set_initial_window_size(self): """ - We want the window size for new windows to be 1024x768 viewer + We want the window size for new windows to be 1280x800 viewer size, plus whatever it takes to fit the toolbar+menubar, etc. To achieve this, we force the display box to the desired size with set_size_request, wait for the window to report it has been resized, and then unset the hardcoded size request so the user can manually resize the window however they want. """ - w = 1024 - h = 768 + w = 1280 + h = 800 hid = [] def win_cb(src, event): self.widget("details-pages").set_size_request(-1, -1)