apply additional horizontal button offset only in 'Full' maximized mode, and when maximized window are not move/resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=1020596
This commit is contained in:
parent
fafaf8bf9e
commit
786a000d49
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
|||
}
|
||||
|
||||
|
||||
if(client_.maximizeMode() == OxygenClient::MaximizeRestore)
|
||||
// translate buttons up if window maximized
|
||||
if(client_.isMaximized())
|
||||
{
|
||||
painter.translate(0,-1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue