[gtk+] Scale down print dialog size



commit b673e5b1ee87eba6d7c8dd66c63be080ed2687aa
Author: Frederic Crozat <fred crozat net>
Date:   Mon Jan 3 12:51:22 2011 -0500

    Scale down print dialog size
    
    Shrink the preview display a little to make the print dialog
    fit on a typical netbook screen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=637958

 gtk/gtkprintunixdialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 861d779..7cb734c 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -60,7 +60,7 @@
 #include "gtkmessagedialog.h"
 #include "gtkbutton.h"
 
-#define EXAMPLE_PAGE_AREA_SIZE 140
+#define EXAMPLE_PAGE_AREA_SIZE 110
 #define RULER_DISTANCE 7.5
 #define RULER_RADIUS 2
 
@@ -3517,7 +3517,7 @@ create_page_setup_page (GtkPrintUnixDialog *dialog)
   draw = gtk_drawing_area_new ();
   gtk_widget_set_has_window (draw, FALSE);
   priv->page_layout_preview = draw;
-  gtk_widget_set_size_request (draw, 350, 200);
+  gtk_widget_set_size_request (draw, 280, 160);
   g_signal_connect (draw, "draw", G_CALLBACK (draw_page_cb), dialog);
   gtk_widget_show (draw);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]