[latexila] Smaller status bar



commit 58ec3e4f10883f526bf07c560514c2e9a60e1577
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Feb 7 18:32:13 2014 +0100

    Smaller status bar
    
    It seems that since gtk+ 3.10, the status bar is bigger.

 src/custom_statusbar.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/custom_statusbar.vala b/src/custom_statusbar.vala
index 6ff8db2..3159450 100644
--- a/src/custom_statusbar.vala
+++ b/src/custom_statusbar.vala
@@ -27,7 +27,11 @@ public class CustomStatusbar : Statusbar
     {
         cursor_position = new Statusbar ();
         cursor_position.set_size_request (150, -1);
+        cursor_position.margin = 0;
         pack_end (cursor_position, false, true, 0);
+
+        margin_top = 2;
+        margin_bottom = 2;
     }
 
     public void set_cursor_position (int line, int col)


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