diff --git a/gtk2_ardour/piano_roll_header.cc b/gtk2_ardour/piano_roll_header.cc index 9116dd4ce4..59e6f54fa2 100644 --- a/gtk2_ardour/piano_roll_header.cc +++ b/gtk2_ardour/piano_roll_header.cc @@ -834,13 +834,12 @@ void PianoRollHeader::on_size_request (Gtk::Requisition* r) { if (show_scroomer()) { - _scroomer_size = 60.f; + _scroomer_size = 60.f * UIConfiguration::instance().get_ui_scale(); } else { - _scroomer_size = 20.f; + _scroomer_size = 20.f * UIConfiguration::instance().get_ui_scale(); } - float w = _scroomer_size + 20.f; - r->width = std::max (w, rintf (w * UIConfiguration::instance().get_ui_scale())); + r->width = _scroomer_size + 20.f; } void