mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
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:
parent
171bac4626
commit
6f776f0814
@ -61,7 +61,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
|
||||
|
||||
@ -3509,7 +3509,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, "expose-event", G_CALLBACK (draw_page_cb), dialog);
|
||||
gtk_widget_show (draw);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user