mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 02:10:12 +00:00
gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo#603245)
This commit is contained in:
parent
f332506804
commit
a8ec02c930
@ -5276,7 +5276,7 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
||||
remaining_space, STEP_NEXT);
|
||||
}
|
||||
|
||||
if (tab_space <= 0 || *remaining_space < 0)
|
||||
if (tab_space <= 0 || *remaining_space <= 0)
|
||||
{
|
||||
/* show 1 tab */
|
||||
notebook->first_tab = notebook->focus_tab;
|
||||
|
Loading…
Reference in New Issue
Block a user