Skip to content

Commit

Permalink
Remove obsolete setMargin
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed Nov 26, 2020
1 parent 25a23f1 commit 7ca5c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edbee-lib/edbee/texteditorwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ TextEditorWidget::TextEditorWidget(QWidget* parent)

QVBoxLayout* layout = new QVBoxLayout(this);
layout->addWidget( scrollAreaRef_ );
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);

setLayout(layout);
setFocusProxy( editCompRef_ );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TextEditorAutoCompleteComponent::TextEditorAutoCompleteComponent(TextEditorContr
/// initialize the widget
QBoxLayout* layout = new QBoxLayout(QBoxLayout::TopToBottom);
layout->setSpacing(0);
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);

menuRef_ = new QMenu(this);
listWidgetRef_ = new QListWidget(menuRef_);
Expand Down

0 comments on commit 7ca5c40

Please sign in to comment.