Skip to content

Commit

Permalink
Max. comment length
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Oct 30, 2015
1 parent bebbec7 commit aed2de7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions submitDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ namespace capsViewer
editSubmitter->setObjectName("submitter");
editSubmitter->setPlaceholderText("Can be left empty");
editSubmitter->setText(submitter);
editSubmitter->setMinimumWidth(256);
editSubmitter->setMinimumWidth(200);
formLayout->addRow("Submitter:", editSubmitter);

editComment = new QLineEdit();
editComment->setObjectName("comment");
editComment->setPlaceholderText("Can be left empty");
editComment->setMinimumWidth(256);
editComment->setMaxLength(64);
editComment->setMinimumWidth(200);
editComment->setMaxLength(32);
formLayout->addRow("Comment:", editComment);

QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
Expand Down

0 comments on commit aed2de7

Please sign in to comment.