File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 206
206
construct {
207
207
_label = new Gtk .Label (null );
208
208
_label. hexpand = true ;
209
+ _label. valign = Gtk . Align . CENTER ;
209
210
_label. ellipsize = Pango . EllipsizeMode . END ;
210
211
211
212
close_button = new Gtk .Button .from_icon_name (" window-close" );
218
219
219
220
tab_layout = new Gtk .CenterBox ();
220
221
tab_layout. hexpand = true ;
222
+ tab_layout. valign = Gtk . Align . CENTER ;
221
223
tab_layout. set_end_widget (close_button);
222
224
tab_layout. set_center_widget (_label);
223
225
Original file line number Diff line number Diff line change 234
234
notebook. add_css_class (" tab-holder" );
235
235
236
236
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 ;
240
237
add_button. tooltip_text = _(" New Tab" );
241
238
242
239
notebook. set_action_widget (add_button, Gtk . PackType . END );
You can’t perform that action at this time.
0 commit comments