diff options
author | Ben Loftis <ben@glw.com> | 2012-12-06 20:48:44 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2012-12-06 20:48:44 +0000 |
commit | 92e5a13fd41eba37a2634caf921606b7d915c557 (patch) | |
tree | 07bdc131a1f0a640983ae66a771104f3bec41ec1 /gtk2_ardour/mixer_strip.cc | |
parent | 9884773eea9764b6dacd3ade6a1d49cf389fe398 (diff) |
several theme changes. changed drawing of rounded_rectangle to be more correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults
git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 843f2ee452..0e0bf893a0 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -155,6 +155,7 @@ MixerStrip::init () input_button.set_text (_("Input")); input_button.set_name ("mixer strip button"); + input_button.set_size_request (-1, 20); input_button_box.pack_start (input_button, true, true); output_button.set_text (_("Output")); @@ -243,12 +244,13 @@ MixerStrip::init () bottom_button_table.set_homogeneous (true); bottom_button_table.attach (group_button, 0, 1, 0, 1); - name_button.set_name ("mixer strip name button"); + name_button.set_name ("mixer strip button"); name_button.set_text (" "); /* non empty text, forces creation of the layout */ name_button.set_text (""); /* back to empty */ name_button.layout()->set_ellipsize (Pango::ELLIPSIZE_END); name_button.signal_size_allocate().connect (sigc::mem_fun (*this, &MixerStrip::name_button_resized)); Gtkmm2ext::set_size_request_to_display_given_text (name_button, longest_label.c_str(), 2, 2); + name_button.set_size_request (-1, 20); ARDOUR_UI::instance()->set_tip (&group_button, _("Mix group"), ""); group_button.set_name ("mixer strip button"); |