fixed some margins
This commit is contained in:
@@ -38,7 +38,7 @@ CommandPage::CommandPage()
|
|||||||
auto app = getApp();
|
auto app = getApp();
|
||||||
|
|
||||||
LayoutCreator<CommandPage> layoutCreator(this);
|
LayoutCreator<CommandPage> layoutCreator(this);
|
||||||
auto layout = layoutCreator.emplace<QVBoxLayout>().withoutMargin();
|
auto layout = layoutCreator.setLayoutType<QVBoxLayout>();
|
||||||
|
|
||||||
EditableModelView *view =
|
EditableModelView *view =
|
||||||
layout.emplace<EditableModelView>(app->commands->createModel(nullptr))
|
layout.emplace<EditableModelView>(app->commands->createModel(nullptr))
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ KeyboardSettingsPage::KeyboardSettingsPage()
|
|||||||
auto layout =
|
auto layout =
|
||||||
LayoutCreator<KeyboardSettingsPage>(this).setLayoutType<QVBoxLayout>();
|
LayoutCreator<KeyboardSettingsPage>(this).setLayoutType<QVBoxLayout>();
|
||||||
|
|
||||||
auto form = layout.emplace<QFormLayout>();
|
auto form = layout.emplace<QFormLayout>().withoutMargin();
|
||||||
|
|
||||||
form->addRow(new QLabel("Hold Ctrl"), new QLabel("Show resize handles"));
|
form->addRow(new QLabel("Hold Ctrl"), new QLabel("Show resize handles"));
|
||||||
form->addRow(new QLabel("Hold Ctrl + Alt"),
|
form->addRow(new QLabel("Hold Ctrl + Alt"),
|
||||||
|
|||||||
Reference in New Issue
Block a user