Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void Gui::KTimeLine::setPanelWidth ( int  width  ) 

Set the width of the panels that accompany the timeline's tracks. This also affects the width of the ruler widget and the scrollbar widget.

Definition at line 657 of file ktimeline.cpp.

References m_panelWidth, and m_rulerToolWidget.

                                           {
      m_panelWidth = width;

      m_rulerToolWidget->setMinimumWidth(m_panelWidth);
      m_rulerToolWidget->setMaximumWidth(m_panelWidth);

      m_scrollToolWidget->setMinimumWidth(m_panelWidth);
      m_scrollToolWidget->setMaximumWidth(m_panelWidth);

      resizeTracks();
    }


Generated by  Doxygen 1.6.0   Back to index