Commit 95b5d861 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Slightly increase the size of the track controls panel

parent 76d0cbf4
......@@ -47,6 +47,7 @@ TracksControls::TracksControls( QWidget* parent )
m_separator->setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Fixed );
m_separator->setMinimumHeight( 20 );
m_separator->setMaximumHeight( 20 );
m_separator->setMinimumWidth( 120 );
m_layout->addWidget( m_separator );
m_centralWidget->setLayout( m_layout );
......@@ -57,7 +58,6 @@ void
TracksControls::addVideoTrack( GraphicsTrack* track )
{
TrackControls* item = new TrackControls( track, m_centralWidget );
item->setMinimumWidth( 108 );
item->setMinimumHeight( track->height() );
item->setContentsMargins( 0, 0, 0, 0 );
m_layout->insertWidget( 0, item );
......@@ -67,7 +67,6 @@ void
TracksControls::addAudioTrack( GraphicsTrack* track )
{
TrackControls* item = new TrackControls( track, m_centralWidget );
item->setMinimumWidth( 108 );
item->setMinimumHeight( track->height() );
item->setContentsMargins( 0, 0, 0, 0 );
m_layout->insertWidget( -1, item );
......
......@@ -23,7 +23,16 @@
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
......@@ -87,13 +96,13 @@
</property>
<property name="minimumSize">
<size>
<width>108</width>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>108</width>
<width>120</width>
<height>16777215</height>
</size>
</property>
......
......@@ -11,7 +11,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......@@ -23,7 +23,16 @@
<property name="spacing">
<number>1</number>
</property>
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
......@@ -82,6 +91,9 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
......@@ -95,6 +107,9 @@
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment