mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
notebook: Use initial-gap on both edges of the tab header
https://bugzilla.gnome.org/show_bug.cgi?id=707920
This commit is contained in:
parent
2bb01c6cc8
commit
81b0808849
@ -2148,7 +2148,7 @@ gtk_notebook_get_preferred_tabs_size (GtkNotebook *notebook,
|
||||
|
||||
action_width += action_widget_requisition[ACTION_WIDGET_START].width;
|
||||
action_width += action_widget_requisition[ACTION_WIDGET_END].width;
|
||||
requisition->width = tab_width + tab_overlap + action_width + initial_gap;
|
||||
requisition->width = tab_width + tab_overlap + action_width + 2 * initial_gap;
|
||||
|
||||
requisition->height = tab_height;
|
||||
break;
|
||||
@ -2187,7 +2187,7 @@ gtk_notebook_get_preferred_tabs_size (GtkNotebook *notebook,
|
||||
action_height += action_widget_requisition[ACTION_WIDGET_START].height;
|
||||
action_height += action_widget_requisition[ACTION_WIDGET_END].height;
|
||||
|
||||
requisition->height = tab_height + tab_overlap + action_height + initial_gap;
|
||||
requisition->height = tab_height + tab_overlap + action_height + 2 * initial_gap;
|
||||
|
||||
requisition->height = MAX (requisition->height, tab_max + tab_overlap);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user