allows the panel toolbox to zoom out, so isn't shown anymore at the top
of the screen when desktop is zoomed out svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814577
This commit is contained in:
parent
6406af5f58
commit
3c2f92084e
@ -102,7 +102,9 @@ PanelToolBox::PanelToolBox(QGraphicsItem *parent)
|
|||||||
setZValue(10000000);
|
setZValue(10000000);
|
||||||
setFlag(ItemClipsToShape, true);
|
setFlag(ItemClipsToShape, true);
|
||||||
setFlag(ItemClipsChildrenToShape, false);
|
setFlag(ItemClipsChildrenToShape, false);
|
||||||
setFlag(ItemIgnoresTransformations, true);
|
//panel toolbox is allowed to zoom, otherwise a part of it will be displayed behind the desktop
|
||||||
|
//toolbox when the desktop is zoomed out
|
||||||
|
setFlag(ItemIgnoresTransformations, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
PanelToolBox::~PanelToolBox()
|
PanelToolBox::~PanelToolBox()
|
||||||
|
Loading…
Reference in New Issue
Block a user