Set adjustment rules for combobox within foreign key editor

This commit is contained in:
Vladyslav Tronko
2017-01-16 04:16:17 +02:00
parent 0584d0380d
commit 4ecb50277c

View File

@@ -18,6 +18,7 @@ public:
, clauseEdit(new QLineEdit(this))
, m_btnReset(new QPushButton(tr("&Reset"), this))
{
idsComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
clauseEdit->setPlaceholderText(tr("(foreign key clauses(ON UPDATE, ON DELETE etc.)"));
QHBoxLayout* layout = new QHBoxLayout(this);