mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Compact the port matrix slightly, and fix a couple of minor layout bugs.
git-svn-id: svn://localhost/ardour2/branches/3.0@6068 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b49830d1a0
commit
c3d8d38f7f
3 changed files with 6 additions and 4 deletions
|
|
@ -289,7 +289,9 @@ PortMatrixRowLabels::render_bundle_name (
|
|||
cairo_set_line_width (cr, label_border_width ());
|
||||
cairo_stroke (cr);
|
||||
|
||||
double const off = grid_spacing() / 2;
|
||||
cairo_text_extents_t ext;
|
||||
cairo_text_extents (cr, b->name().c_str(), &ext);
|
||||
double const off = (grid_spacing() - ext.height) / 2;
|
||||
|
||||
set_source_rgb (cr, text_colour());
|
||||
cairo_move_to (cr, xoff + x + name_pad(), yoff + name_pad() + off);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue