diff --git a/lib/Widgets/Tab.vala b/lib/Widgets/Tab.vala index 79e829bd..67d8408f 100644 --- a/lib/Widgets/Tab.vala +++ b/lib/Widgets/Tab.vala @@ -206,6 +206,7 @@ construct { _label = new Gtk.Label (null); _label.hexpand = true; + _label.valign = Gtk.Align.CENTER; _label.ellipsize = Pango.EllipsizeMode.END; close_button = new Gtk.Button.from_icon_name ("window-close"); @@ -218,6 +219,7 @@ tab_layout = new Gtk.CenterBox (); tab_layout.hexpand = true; + tab_layout.valign = Gtk.Align.CENTER; tab_layout.set_end_widget (close_button); tab_layout.set_center_widget (_label); diff --git a/lib/Widgets/TabSwitcher.vala b/lib/Widgets/TabSwitcher.vala index 5d0fff76..cba9aa4d 100644 --- a/lib/Widgets/TabSwitcher.vala +++ b/lib/Widgets/TabSwitcher.vala @@ -234,9 +234,6 @@ notebook.add_css_class ("tab-holder"); var add_button = new He.DisclosureButton.from_icon ("list-add-symbolic"); - add_button.margin_top = 6; - add_button.margin_bottom = 6; - add_button.margin_end = 6; add_button.tooltip_text = _("New Tab"); notebook.set_action_widget (add_button, Gtk.PackType.END);