mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Ui-Tweak: auto-fitting dict name for initializing window
This commit is contained in:
parent
50c3140296
commit
066fb00b4a
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue