Ui-Tweak: auto-fitting dict name for initializing window

This commit is contained in:
Timon Wong 2013-05-22 21:09:43 +08:00
parent 50c3140296
commit 066fb00b4a
2 changed files with 13 additions and 0 deletions

View file

@ -31,6 +31,7 @@ void Initializing::indexing( QString const & dictionaryName )
ui.dictionary->setText( dictionaryName ); ui.dictionary->setText( dictionaryName );
ui.dictionary->show(); ui.dictionary->show();
ui.progressBar->show(); ui.progressBar->show();
adjustSize();
show(); show();
} }

View file

@ -12,6 +12,12 @@
<height>84</height> <height>84</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>326</width>
<height>0</height>
</size>
</property>
<property name="windowTitle" > <property name="windowTitle" >
<string>GoldenDict - Initializing</string> <string>GoldenDict - Initializing</string>
</property> </property>
@ -43,6 +49,9 @@
<property name="alignment" > <property name="alignment" >
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -53,6 +62,9 @@
<property name="value" > <property name="value" >
<number>-1</number> <number>-1</number>
</property> </property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>