summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-02 22:59:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 07:28:41 -0700
commitc16d4ca5d5325422425a54df9252b73706918e28 (patch)
treef4725f592d202d9758225338771d2db463d2e96a
parent3c4439ee27bfb794c69de801caed50353e6719b7 (diff)
downloadsubsurface-c16d4ca5d5325422425a54df9252b73706918e28.tar.gz
Make planner buttons consistent with Maintab
Move the Save/Abort buttons in the planner to the top left and change them to Save/Cancel to be consistent with where our Save/Cancel buttons are in the Maintab. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/diveplanner.ui7
1 files changed, 5 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index a538be338..90c9fda97 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -99,15 +99,18 @@
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred"/>
+ </property>
<property name="text">
<string>Planned Dive Time</string>
</property>
</widget>
</item>
- <item row="9" column="0" colspan="2">
+ <item row="1" column="1">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
- <set>QDialogButtonBox::Abort|QDialogButtonBox::Save</set>
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
</property>
</widget>
</item>