projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1b097d5
)
get editor controls layout/midi track header/scroomer to be the correct height
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 13 Apr 2016 19:28:27 +0000
(15:28 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 13 Apr 2016 19:28:34 +0000
(15:28 -0400)
Using is_mapped() is wrong, since if the editor was not visible (i.e. program has not yet shown the editor
"tab", then _group_tabs will have is_visible() == true but is_mapped() == false
gtk2_ardour/editor_canvas.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_canvas.cc
b/gtk2_ardour/editor_canvas.cc
index 1c1d3b3813560c4bde1154172c8e7eba08313112..40ca1dbf22fd8880104fdbde8b17df2b67088457 100644
(file)
--- a/
gtk2_ardour/editor_canvas.cc
+++ b/
gtk2_ardour/editor_canvas.cc
@@
-313,7
+313,7
@@
Editor::reset_controls_layout_width ()
edit_controls_vbox.size_request (req);
w = req.width;
- if (_group_tabs->is_
mapped
()) {
+ if (_group_tabs->is_
visible
()) {
_group_tabs->size_request (req);
w += req.width;
}