Fix sizing of port matrix column labels.
git-svn-id: svn://localhost/ardour2/branches/3.0@5492 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9649a94053
commit
7ccb2f8689
@ -72,15 +72,16 @@ PortMatrixColumnLabels::compute_dimensions ()
|
||||
j->bundle->channel_name (k).c_str(),
|
||||
&ext
|
||||
);
|
||||
}
|
||||
|
||||
if (ext.width > _longest_channel_name) {
|
||||
_longest_channel_name = ext.width;
|
||||
}
|
||||
|
||||
if (ext.height > _highest_text) {
|
||||
_highest_text = ext.height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
_width += group_size (*i) * grid_spacing ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user