[Summary] Allow to set 250 symbols name for track. Show only first 15 symbols of the track's name in Track Header

[Reviewed] GZharun
This commit is contained in:
nikolay 2014-09-24 15:01:19 +03:00
parent 61b42371b2
commit 12e24a785f
3 changed files with 3 additions and 2 deletions

View file

@ -320,7 +320,7 @@ MixerStrip::init ()
/* note that this handler connects *before* the default handler */
_name_button_home.signal_button_press_event().connect (sigc::mem_fun (*this, &MixerStrip::controls_ebox_button_press));
_name_button_home.signal_button_release_event().connect (sigc::mem_fun (*this, &MixerStrip::controls_ebox_button_release));
_name_entry.set_max_length(13);
_name_entry.set_max_length(250);
deletion_in_progress = false;
}

View file

@ -132,7 +132,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess,
name_entry.signal_focus_out_event().connect (sigc::mem_fun (*this, &TimeAxisView::name_entry_focus_out));
name_entry.set_text (name_label.get_text());
name_entry.signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &TimeAxisView::end_name_edit), RESPONSE_OK));
name_entry.set_max_length(13);
name_entry.set_max_length(250);
controls_event_box.add_events (Gdk::BUTTON_PRESS_MASK|
Gdk::BUTTON_RELEASE_MASK|

View file

@ -45,6 +45,7 @@
visible="false"/>
<HBox height="5"/>
<Label id="name_label"
width="83"
winfont ="Arial 10"
macfont ="Helvetica 10"
fgnormal="#ffffff"