We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 833ca9d commit d86cf14Copy full SHA for d86cf14
src/PopupMenu.cpp
@@ -28,7 +28,7 @@ PopupMenu::PopupMenu(bool showAlphaChannel, QWidget *parent) :
28
mColorDialogButton(new ColorDialogButton(QIcon(QLatin1String(":/icons/ellipsis")), showAlphaChannel))
29
{
30
mLayout->setSpacing(0);
31
- mLayout->setMargin(5);
+ mLayout->setContentsMargins(5, 5, 5, 5);
32
setLayout(mLayout);
33
34
connect(mColorDialogButton, &AbstractPopupMenuButton::colorSelected, this, &PopupMenu::colorSelected);
@@ -136,4 +136,4 @@ QSize PopupMenu::sizeHint() const
136
return mLayout->sizeHint();
137
}
138
139
-} // namespace kColorPicker
+} // namespace kColorPicker
0 commit comments