[virt-tools-list] [PATCH virt-viewer] Make default window size a bit more useful

Jonathon Jongsma jjongsma at redhat.com
Wed Sep 3 19:22:22 UTC 2014

Currently, windows have a default size of 400x400 pixels. This is a
strange aspect ratio for a display, and it is also too small to be
useful for much. Since the default window size determines the initial
size of newly-enabled displays, it would be nice if we used a slightly
better size.

Feel free to suggest a different size if you don't like 1024x768.

 src/virt-viewer.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
index 760550e..a182319 100644
--- a/src/virt-viewer.xml
+++ b/src/virt-viewer.xml
@@ -4,8 +4,8 @@
   <object class="GtkAccelGroup" id="accelgroup"/>
   <object class="GtkWindow" id="viewer">
     <property name="can_focus">False</property>
-    <property name="default_width">400</property>
-    <property name="default_height">400</property>
+    <property name="default_width">1024</property>
+    <property name="default_height">768</property>
     <signal name="delete-event" handler="virt_viewer_window_delete" swapped="no"/>
       <object class="GtkVBox" id="viewer-box">

More information about the virt-tools-list mailing list