Skip to content

Commit c42cf65

Browse files
committed
Fix: Tabs were getting chunky because of this
1 parent ba99611 commit c42cf65

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Widgets/Tab.vala

+2
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@
206206
construct {
207207
_label = new Gtk.Label (null);
208208
_label.hexpand = true;
209+
_label.valign = Gtk.Align.CENTER;
209210
_label.ellipsize = Pango.EllipsizeMode.END;
210211

211212
close_button = new Gtk.Button.from_icon_name ("window-close");
@@ -218,6 +219,7 @@
218219

219220
tab_layout = new Gtk.CenterBox ();
220221
tab_layout.hexpand = true;
222+
tab_layout.valign = Gtk.Align.CENTER;
221223
tab_layout.set_end_widget (close_button);
222224
tab_layout.set_center_widget (_label);
223225

lib/Widgets/TabSwitcher.vala

-3
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,6 @@
234234
notebook.add_css_class ("tab-holder");
235235

236236
var add_button = new He.DisclosureButton.from_icon ("list-add-symbolic");
237-
add_button.margin_top = 6;
238-
add_button.margin_bottom = 6;
239-
add_button.margin_end = 6;
240237
add_button.tooltip_text = _("New Tab");
241238

242239
notebook.set_action_widget (add_button, Gtk.PackType.END);

0 commit comments

Comments
 (0)