Reduced titlebar size by 2 pixels ;-)
svn path=/trunk/kdebase/kwin/; revision=44705
This commit is contained in:
parent
35cbd1ea19
commit
955ff1947a
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ SystemClient::SystemClient( Workspace *ws, WId w, QWidget *parent,
|
||||||
g->addLayout( hb, 0, 1 );
|
g->addLayout( hb, 0, 1 );
|
||||||
hb->addSpacing(2);
|
hb->addSpacing(2);
|
||||||
hb->addWidget( button[0]);
|
hb->addWidget( button[0]);
|
||||||
titlebar = new QSpacerItem(10, 16, QSizePolicy::Expanding,
|
titlebar = new QSpacerItem(10, 14, QSizePolicy::Expanding,
|
||||||
QSizePolicy::Minimum);
|
QSizePolicy::Minimum);
|
||||||
hb->addItem(titlebar);
|
hb->addItem(titlebar);
|
||||||
hb->addSpacing(3);
|
hb->addSpacing(3);
|
||||||
|
@ -302,7 +302,7 @@ void SystemClient::paintEvent( QPaintEvent* )
|
||||||
p.drawTiledPixmap(0, 0, width(), 18, *iUpperGradient);
|
p.drawTiledPixmap(0, 0, width(), 18, *iUpperGradient);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
t.setTop( 2 );
|
t.setTop( 1 );
|
||||||
if(isActive())
|
if(isActive())
|
||||||
p.drawTiledPixmap(t, *titlePix);
|
p.drawTiledPixmap(t, *titlePix);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue