Consider size of port matrix column labels for size of row labels
authorJohannes Mueller <github@johannes-mueller.org>
Sun, 28 Oct 2018 16:22:32 +0000 (17:22 +0100)
committerJohannes Mueller <github@johannes-mueller.org>
Thu, 1 Nov 2018 17:53:27 +0000 (18:53 +0100)
commitcc83e1a9bfd7339c4ebfcde4a57d511eec51923e
tree5317c52f1256f4f8c12ab3fc59f490ead9cd6168
parent732fd75f9ba8ddf369088fb5b9e4a91d17160e00
Consider size of port matrix column labels for size of row labels

The column labels are drawn in an angle towards the edge where the row labels
are. Therefore, if the column labels are much longer than the row labels it can
happen that they go beyond the left edge. In that case we have to add an extra
width to the row labels.
gtk2_ardour/port_matrix_body.cc
gtk2_ardour/port_matrix_row_labels.cc
gtk2_ardour/port_matrix_row_labels.h