[gtk+/gtk-3-14] printing: Another tweak to sheet drawing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] printing: Another tweak to sheet drawing
- Date: Sat, 4 Oct 2014 15:58:26 +0000 (UTC)
commit 666f7d35e438e530a035d06c28d1a38b307b33b9
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Oct 4 11:56:44 2014 -0400
printing: Another tweak to sheet drawing
After consultation, revisit the vertical centering to center
the first 'stack', and put the second one behind it.
gtk/gtkprintunixdialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 277b28a..402e26a 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -2243,12 +2243,12 @@ draw_collate_cb (GtkWidget *widget,
rtl = (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL);
- x = (gtk_widget_get_allocated_width (widget) - 66) / 2;
+ x = (gtk_widget_get_allocated_width (widget) - 30) / 2;
y = (gtk_widget_get_allocated_height (widget) - 36) / 2;
if (rtl)
{
- x1 = x + 36;
- x2 = x;
+ x1 = x;
+ x2 = x - 36;
p1 = 0;
p2 = 10;
text_x = 4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]