fixed GridLayout border and spacing of the B2 decoration, so that central widget
is correctly located with respect to the decoration borders svn path=/branches/KDE/4.3/kdebase/workspace/; revision=991944
This commit is contained in:
parent
88c565602e
commit
3c21c1dd33
1 changed files with 7 additions and 0 deletions
|
@ -419,6 +419,13 @@ void B2Client::init()
|
|||
button[i] = NULL;
|
||||
|
||||
g = new QGridLayout(widget());
|
||||
|
||||
// force margin and spacing to 0 so that
|
||||
// center widget is correctly located with respect
|
||||
// to window border.
|
||||
g->setSpacing(0);
|
||||
g->setMargin(0);
|
||||
|
||||
// Left and right border width
|
||||
|
||||
leftSpacer = new QSpacerItem(thickness, 16,
|
||||
|
|
Loading…
Reference in a new issue