fix mixer group-tab width - #6572

EditorGroupTabs are re-exposed in the idle-callback, widgets
are packed and geometry is valid.

Mixer_UI::redisplay_track_list() does not have this property.
This commit is contained in:
Robin Gareus 2015-09-27 01:33:02 +02:00
parent 19c4bc8d83
commit cf761d4f67
1 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,9 @@ MixerGroupTabs::compute_tabs () const
}
}
x += s->get_width ();
int ww = 0, wh = 0;
s->get_size_request (ww, wh); // widget may not be realized, get_width() is invalid.
x += ww;
}
if (tab.group) {