HGGitLab

Commit f3abd9b7 authored by luoliangyi's avatar luoliangyi

UI微调

parent ececa2d8
...@@ -7,7 +7,6 @@ Dialog_MoveTo::Dialog_MoveTo(int count, int pos, QWidget *parent) : ...@@ -7,7 +7,6 @@ Dialog_MoveTo::Dialog_MoveTo(int count, int pos, QWidget *parent) :
{ {
ui->setupUi(this); ui->setupUi(this);
ui->spinBox->setFixedWidth(120);
ui->spinBox->setMaximum(count); ui->spinBox->setMaximum(count);
ui->spinBox->setMinimum(0); ui->spinBox->setMinimum(0);
ui->spinBox->setValue(pos); ui->spinBox->setValue(pos);
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>262</width> <width>370</width>
<height>97</height> <height>122</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>80</x> <x>190</x>
<y>50</y> <y>80</y>
<width>171</width> <width>171</width>
<height>32</height> <height>32</height>
</rect> </rect>
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
<widget class="QWidget" name="layoutWidget"> <widget class="QWidget" name="layoutWidget">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>20</x> <x>10</x>
<y>20</y> <y>20</y>
<width>231</width> <width>351</width>
<height>22</height> <height>51</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
...@@ -49,11 +49,14 @@ ...@@ -49,11 +49,14 @@
<item> <item>
<widget class="QSpinBox" name="spinBox"> <widget class="QSpinBox" name="spinBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximum">
<number>100</number>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>326</width> <width>353</width>
<height>105</height> <height>104</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<item> <item>
<widget class="QSpinBox" name="spinBox"> <widget class="QSpinBox" name="spinBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
......
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