Commit 5e82a2e3 authored by Laurent Montel's avatar Laurent Montel 😁

Port setMargin

parent 2133c58b
......@@ -68,7 +68,7 @@ KBlockLayout::KBlockLayout( QWidget* parent, int margin, int hSpacing, int vSpac
d( new Private() )
{
d->q = this;
setMargin(margin);
setContentsMargins(margin, margin, margin, margin);
setSpacing(hSpacing, vSpacing);
}
......@@ -76,7 +76,7 @@ KBlockLayout::KBlockLayout( int margin, int hSpacing, int vSpacing )
: d( new Private() )
{
d->q = this;
setMargin(margin);
setContentsMargins(margin, margin, margin, margin);
setSpacing(hSpacing, vSpacing);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment