projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mixer group-tab width - #6572
[ardour.git]
/
gtk2_ardour
/
mixer_group_tabs.cc
diff --git
a/gtk2_ardour/mixer_group_tabs.cc
b/gtk2_ardour/mixer_group_tabs.cc
index 7d8bb99b481ce2687ec1dd6bc7b6093470e93fcf..e7d82ae708fc323bd9f537361ab0c18ce8d9527c 100644
(file)
--- a/
gtk2_ardour/mixer_group_tabs.cc
+++ b/
gtk2_ardour/mixer_group_tabs.cc
@@
-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) {