move computation of TimeAxisViewItem fixed heights into a static member function...
[ardour.git] / gtk2_ardour / ardour_ui.cc
index 0a8209fe22c0da90969df7d7742ce2da209ecf4b..10fdeb991e7510aab145a71973605b542640854d 100644 (file)
@@ -96,6 +96,7 @@ typedef uint64_t microseconds_t;
 #include "startup.h"
 #include "engine_dialog.h"
 #include "processor_box.h"
+#include "time_axis_view_item.h"
 
 #include "i18n.h"
 
@@ -286,6 +287,8 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[])
 
        reset_dpi();
 
+        TimeAxisViewItem::set_constant_heights ();
+
        starting.connect (sigc::mem_fun(*this, &ARDOUR_UI::startup));
        stopping.connect (sigc::mem_fun(*this, &ARDOUR_UI::shutdown));