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:
parent
19c4bc8d83
commit
cf761d4f67
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user