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->show();
ui.progressBar->show();
adjustSize();
show();
}

View file

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