[latexila] Paned: impossible to hide completely the panels



commit 4f6dae46ebd992ccd3dce4d79173db0d75b70102
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Wed Nov 7 20:19:48 2012 +0100

    Paned: impossible to hide completely the panels
    
    When a panel (the side panel or the bottom panel) is completely hidden,
    it's difficult to see the paned handle. So we can think that the panel
    is hidden and that there is a bug.

 src/main_window.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 6e9f2f9..33000b8 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -196,7 +196,7 @@ public class MainWindow : Window
         /* Side panel */
 
         SidePanel side_panel = get_side_panel ();
-        _main_hpaned.add1 (side_panel);
+        _main_hpaned.pack1 (side_panel, false, false);
 
         /* Vertical paned.
          * Top: documents, search and replace, ...
@@ -233,7 +233,7 @@ public class MainWindow : Window
 
         // When we resize the window, the bottom panel keeps the same height.
         _vpaned.pack1 (docs_vgrid, true, true);
-        _vpaned.pack2 (bottom_panel, false, true);
+        _vpaned.pack2 (bottom_panel, false, false);
 
         /* Statusbar */
 



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