[gnome-latex/wip/side-panel: 3/3] t



commit 6dfae32e50a981b223d20269fc5fa34aaf10a6b1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Apr 20 16:36:33 2020 +0200

    t

 src/side_panel.vala | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/side_panel.vala b/src/side_panel.vala
index 3604aa3..43f9c8c 100644
--- a/src/side_panel.vala
+++ b/src/side_panel.vala
@@ -30,13 +30,11 @@ public class SidePanel : Grid
 
         margin_start = 6;
         margin_top = 3;
-        column_spacing = 3;
-        row_spacing = 3;
 
         _stack = new Gtk.Stack ();
+
         Gtk.StackSwitcher stack_switcher = new Gtk.StackSwitcher ();
         stack_switcher.set_stack (_stack);
-        stack_switcher.set_halign (Align.CENTER);
 
         Gtk.ActionBar action_bar = new Gtk.ActionBar ();
         action_bar.set_center_widget (stack_switcher);
@@ -52,8 +50,6 @@ public class SidePanel : Grid
         Button close_button = Tepl.utils_create_close_button () as Button;
         close_button.tooltip_text = _("Hide panel");
         close_button.margin_end = 3;
-        //close_button.expand = false;
-        //close_button.set_halign (Align.END);
 
         close_button.clicked.connect (() => this.hide ());
 


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