Fix for issue #21

preferencesAboutTextFull
Craig Watson 9 years ago
parent 259a765b5a
commit 37dcd6c45b
  1. 6
      src/gui/UBFeaturesWidget.cpp

@ -628,13 +628,17 @@ UBFeaturesNewFolderDialog::UBFeaturesNewFolderDialog(QWidget *parent) : QWidget(
, cancelText(tr("Cancel"))
, labelText(tr("Enter a new folder name"))
{
this->setStyleSheet("background:white;");
this->setStyleSheet("QPushButton { background:white; }");
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QVBoxLayout *labelLayout = new QVBoxLayout();
labelLayout->setSizeConstraint(QLayout::SetMinimumSize);
QLabel *mLabel = new QLabel(labelText, this);
mLabel->setWordWrap(true);
mLabel->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
mLineEdit = new QLineEdit(this);
mValidator = new QRegExpValidator(QRegExp("[^\\/\\:\\?\\*\\|\\<\\>\\\"]{2,}"), this);

Loading…
Cancel
Save