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