some UI fix

This commit is contained in:
thez3ro 2017-03-17 01:34:33 +01:00
parent b6a7771a23
commit 7541f57aeb
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -208,7 +208,7 @@ QProgressBar::chunk {
</property>
<widget class="QWidget" name="passwordWidget">
<attribute name="title">
<string>Random</string>
<string>Password</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
@ -444,12 +444,14 @@ QProgressBar::chunk {
</widget>
<widget class="QWidget" name="dicewareWidget">
<attribute name="title">
<string>Diceware</string>
<string>Passphrase</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="labelWordList">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
@ -462,7 +464,7 @@ QProgressBar::chunk {
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBoxWordList">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -472,17 +474,7 @@ QProgressBar::chunk {
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="passwordLengthSliderLayout_2">
<property name="spacing">
<number>15</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<item>
<item row="1" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="labelWordCount">
<property name="text">
<string>Word Count:</string>
@ -492,6 +484,11 @@ QProgressBar::chunk {
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item>
<widget class="QSlider" name="sliderWordCount">
<property name="minimum">
@ -517,7 +514,7 @@ QProgressBar::chunk {
</property>
</widget>
</item>
<item alignment="Qt::AlignRight">
<item>
<widget class="QSpinBox" name="spinBoxWordCount">
<property name="minimum">
<number>1</number>
@ -532,16 +529,14 @@ QProgressBar::chunk {
</item>
</layout>
</item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<item row="2" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="labelWordSeparator">
<property name="text">
<string>Word Separator:</string>
</property>
</widget>
</item>
<item>
<item row="2" column="1">
<widget class="QComboBox" name="comboBoxWordSeparator">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -554,11 +549,26 @@ QProgressBar::chunk {
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonGenerate">
<property name="text">