13
0

fix TAV text-entry size.

for now: no round corners, gtk-entry + its frame
packing messes things up
This commit is contained in:
Robin Gareus 2014-09-09 00:05:14 +02:00
parent 68f0694ac0
commit ff5b658bc2
2 changed files with 6 additions and 3 deletions

View File

@ -803,6 +803,8 @@ style "audio_bus_metrics_inactive" = "track_controls_inactive"
style "track_name_display" = "medium_text"
{
xthickness = 0
ythickness = 0
fg[NORMAL] = @@COLPREFIX@_fg
fg[ACTIVE] = @@COLPREFIX@_fg
fg[SELECTED] = @@COLPREFIX@_fg
@ -813,7 +815,7 @@ style "track_name_display" = "medium_text"
base[NORMAL] = @@COLPREFIX@_base
base[ACTIVE] = lighter(@@COLPREFIX@_base)
base[SELECTED] = @@COLPREFIX@_bg_selected
base[SELECTED] = @@COLPREFIX@_bg_selected
bg[NORMAL] = lighter(@@COLPREFIX@_base)
bg[ACTIVE] = lighter(@@COLPREFIX@_base)

View File

@ -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));