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
This commit is contained in:
Frederic Crozat 2011-01-03 12:51:22 -05:00 committed by Matthias Clasen
parent b555be06b7
commit b673e5b1ee

View File

@ -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);