13
0

tweak trim-knob size (same height as midi-input)

This commit is contained in:
Robin Gareus 2015-04-25 01:04:54 +02:00
parent 848864f8c9
commit e22d7c2e28

View File

@ -256,8 +256,9 @@ MixerStrip::init ()
_comment_button.set_name (X_("mixer strip button"));
_comment_button.signal_clicked.connect (sigc::mem_fun (*this, &RouteUI::toggle_comment_editor));
// TODO implement ArdourKnob::on_size_request properly
#define PX_SCALE(px) std::max((float)px, rintf((float)px * ARDOUR_UI::ui_scale))
trim_control.set_size_request (PX_SCALE(20), PX_SCALE(20));
trim_control.set_size_request (PX_SCALE(19), PX_SCALE(19));
#undef PX_SCALE
trim_control.set_tooltip_prefix ("Trim: ");
trim_control.set_name ("trim knob");