towards scaleable meter and mixer UI

somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
This commit is contained in:
Robin Gareus 2015-04-20 05:35:23 +02:00
parent 00f06ca9e9
commit 494009a6e2
7 changed files with 102 additions and 80 deletions

View file

@ -223,11 +223,7 @@ ARDOUR_UI::setup_transport ()
{
RefPtr<Action> act;
#ifdef __APPLE__
const double btn_scale = 1.0;
#else
const double btn_scale = config()->get_font_scale () / 102400.;
#endif
transport_tearoff_hbox.set_border_width (PX_SCALE(3,3));
transport_tearoff_hbox.set_spacing (PX_SCALE(3,3));