Rename tabformwidget to TabFormWidget.
Fix layout add bug.
This commit is contained in:
@@ -20,10 +20,9 @@
|
||||
AdminSettingForm::AdminSettingForm(QWidget* aParent, Qt::WindowFlags f)
|
||||
: TabFormWidget(aParent)
|
||||
{
|
||||
QHBoxLayout* layout = new QHBoxLayout(this);
|
||||
QHBoxLayout* layout = new QHBoxLayout(ui->contentWidget);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 8, 0, 1);
|
||||
ui->contentWidget->setLayout(layout);
|
||||
ui->contentWidget->setObjectName("settingContentWidget");
|
||||
QListWidget* widget = new QListWidget(this);
|
||||
widget->setFixedWidth(250);
|
||||
|
||||
Reference in New Issue
Block a user