Merge branch 'stardict' of ssh://drop.maemo.org/git/mdictionary into stardict
[mdictionary] / src / plugins / stardict / StarDialog.cpp
index 8f608f2..da50275 100644 (file)
@@ -42,14 +42,17 @@ void StarDialog::initializeUI() {
     widget->setLayout(mainVerticalLayout);
     infoLabel = new QLabel;
     infoLabel->setWordWrap(true);
+    QVBoxLayout* buttonLayout = new QVBoxLayout;
 
     if(type == New) {
         browseLayout = new QHBoxLayout;
         browseButton = new QPushButton(tr("Browse"));
-
+        browseButton->setMaximumWidth(150);
+        infoLabel->setText(tr("Dictionary file: not selected"));
         setWindowTitle(tr("Add new StarDict dictionary"));
         infoLabel->setText(tr("Dictionary file: not selected"));
         browseLayout->addWidget(infoLabel, 0, Qt::AlignLeft);
+        browseLayout->addLayout(buttonLayout);
         browseLayout->addWidget(browseButton, 0, Qt::AlignRight);
         mainVerticalLayout->addLayout(browseLayout);
     }