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

Fix size policies.

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