summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-02 13:44:57 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-02 13:44:57 -0500
commit6085d8c15cb3c5a746fe563323fb2df85eb2f752 (patch)
tree1508a828da8699e2aca4ed89e7c7c7adf1cf75e6 /gtk2_ardour/time_axis_view_item.cc
parent03bf8b826f41398201b019ef6d32ea1021a9fa4d (diff)
remove debug output, try a new approach to name text placement
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r--gtk2_ardour/time_axis_view_item.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc
index 6689dc6547..2617c26171 100644
--- a/gtk2_ardour/time_axis_view_item.cc
+++ b/gtk2_ardour/time_axis_view_item.cc
@@ -82,10 +82,8 @@ TimeAxisViewItem::set_constant_heights ()
layout->set_font_description (NAME_FONT);
Gtkmm2ext::get_ink_pixel_size (layout, width, height);
- std::cerr << "item name font " << NAME_FONT.get_family() << ' ' << NAME_FONT.get_size() << ' ' << NAME_FONT.get_style() << " width x height = " << width << " x " << height << std::endl;
-
NAME_HEIGHT = height;
- NAME_Y_OFFSET = height + 5; // XXX this offset is magic
+ NAME_Y_OFFSET = height * 1.5; // XXX this offset is magic
NAME_HIGHLIGHT_SIZE = height + 2;
NAME_HIGHLIGHT_THRESH = NAME_HIGHLIGHT_SIZE * 3;
}