infoLabel = new QLabel;
infoLabel->setWordWrap(true);
+ QVBoxLayout* buttonLayout = new QVBoxLayout;
if(type == New) {
setWindowTitle(tr("Add new StarDict dictionary"));
browseLayout = new QHBoxLayout;
browseButton = new QPushButton(tr("Browse"));
+ browseButton->setMaximumWidth(150);
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);
accentsLayout = new QHBoxLayout;
accentsCheckBox = new QCheckBox(tr("Strip accents"));
accentsCheckBox->setToolTip(accentsToolTip);
- accentsLayout->addWidget(accentsCheckBox);
+ accentsLayout->addWidget(accentsCheckBox);
#ifdef Q_WS_MAEMO_5
accentsInfoToolButton = new QToolButton;
accentsInfoToolButton->setIcon(QIcon::fromTheme("general_information"));