From 066fb00b4af68183725287b062c1388028d73abb Mon Sep 17 00:00:00 2001 From: Timon Wong Date: Wed, 22 May 2013 21:09:43 +0800 Subject: [PATCH] Ui-Tweak: auto-fitting dict name for initializing window --- initializing.cc | 1 + initializing.ui | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/initializing.cc b/initializing.cc index 3d6a319e..be2be88d 100644 --- a/initializing.cc +++ b/initializing.cc @@ -31,6 +31,7 @@ void Initializing::indexing( QString const & dictionaryName ) ui.dictionary->setText( dictionaryName ); ui.dictionary->show(); ui.progressBar->show(); + adjustSize(); show(); } diff --git a/initializing.ui b/initializing.ui index 9977a2a0..6b789ceb 100644 --- a/initializing.ui +++ b/initializing.ui @@ -12,6 +12,12 @@ 84 + + + 326 + 0 + + GoldenDict - Initializing @@ -43,6 +49,9 @@ Qt::AlignCenter + + true + @@ -53,6 +62,9 @@ -1 + + Qt::AlignCenter +