+ // --- LAYOUT ---
+ m_barLayout = new QHBoxLayout();
+ setLayout(m_barLayout);
+ m_barLayout->setContentsMargins(0, 0, 0, 0);
+
+ // --- SET POSITION ---
+ // center this widget horizontally to middle of the panel contents area and set outside of
+ // the view
+ const int FROM_PANEL_CONTENTS_LEFT = PANEL_WIDTH / 2 - width() / 2;
+ move(PANEL_TAB_BAR_WIDTH + PANEL_BAR_WIDTH + FROM_PANEL_CONTENTS_LEFT, -size().height());
+