Commit 86eac8a2 authored by Joseph Mirabel's avatar Joseph Mirabel

Fix size policies.

parent 78355fd9
......@@ -119,6 +119,7 @@ namespace hpp {
// Path player widget
dock = new QDockWidget ("&Path player", main);
dock->setObjectName ("hppwidgetplugin.pathplayer");
dock->setSizePolicy (QSizePolicy::Minimum, QSizePolicy::Fixed);
pathPlayer_ = new PathPlayer (this, dock);
dock->setWidget(pathPlayer_);
main->insertDockWidget (dock, Qt::BottomDockWidgetArea, Qt::Horizontal);
......
......@@ -6,12 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>366</width>
<height>64</height>
<width>562</width>
<height>50</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......@@ -22,6 +22,12 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="refreshButton_path">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
......@@ -42,6 +48,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Path index</string>
</property>
......@@ -126,6 +138,12 @@
</item>
<item>
<widget class="QDoubleSpinBox" name="timeSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Total time</string>
</property>
......
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