diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-09 00:05:14 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-09 00:05:14 +0200 |
commit | ff5b658bc28fd6c96d4273d804041c2138b305b2 (patch) | |
tree | f139dac1857eb3ad074512f1851215056a3c6054 /gtk2_ardour/time_axis_view.cc | |
parent | 68f0694ac0f6db021a3e4c9c3c3a146eb6c91fed (diff) |
fix TAV text-entry size.
for now: no round corners, gtk-entry + its frame
packing messes things up
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 3e132e5eb1..9b3a9178d4 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -137,7 +137,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie name_label.set_width_chars (12); ARDOUR_UI::instance()->set_tip (name_label, _("Track/Bus name (double click to edit)")); - Gtk::Entry* an_entry = new Gtk::Entry; + Gtk::Entry* an_entry = new Gtkmm2ext::FocusEntry; + an_entry->set_name ("EditorTrackNameDisplay"); Gtk::Requisition req; an_entry->size_request (req); name_label.set_size_request (-1, req.height); @@ -205,7 +206,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie time_axis_vbox.show(); time_axis_hbox.pack_start (time_axis_vbox, true, true); time_axis_hbox.show(); - top_hbox.pack_start (scroomer_placeholder, false, false); + top_hbox.pack_start (scroomer_placeholder, false, false); // OR pack_end to move after meters ? ColorsChanged.connect (sigc::mem_fun (*this, &TimeAxisView::color_handler)); |