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 );
|
||||
hb->addSpacing(2);
|
||||
hb->addWidget( button[0]);
|
||||
titlebar = new QSpacerItem(10, 16, QSizePolicy::Expanding,
|
||||
titlebar = new QSpacerItem(10, 14, QSizePolicy::Expanding,
|
||||
QSizePolicy::Minimum);
|
||||
hb->addItem(titlebar);
|
||||
hb->addSpacing(3);
|
||||
|
@ -302,7 +302,7 @@ void SystemClient::paintEvent( QPaintEvent* )
|
|||
p.drawTiledPixmap(0, 0, width(), 18, *iUpperGradient);
|
||||
}
|
||||
}
|
||||
t.setTop( 2 );
|
||||
t.setTop( 1 );
|
||||
if(isActive())
|
||||
p.drawTiledPixmap(t, *titlePix);
|
||||
|
||||
|
|
Loading…
Reference in a new issue