Commit f170b5f7 authored by Marco Martin's avatar Marco Martin
Browse files

fixed size hints to the osd

KWin can't notice soon enough the window being an osd type, so work around
by setting min and max size hints to the same value to make it non resizable
parent a531d1f3
......@@ -28,8 +28,10 @@ RowLayout {
spacing: PlasmaCore.Units.smallSpacing
width: Math.max(Math.min(Screen.desktopAvailableWidth / 2, implicitWidth), PlasmaCore.Units.gridUnit * 15)
height: PlasmaCore.Units.iconSizes.medium
Layout.minimumWidth: Math.max(Math.min(Screen.desktopAvailableWidth / 2, implicitWidth), PlasmaCore.Units.gridUnit * 15)
Layout.minimumHeight: PlasmaCore.Units.iconSizes.medium
Layout.maximumWidth: Layout.minimumWidth
Layout.maximumHeight: Layout.minimumHeight
PlasmaCore.IconItem {
Layout.leftMargin: PlasmaCore.Units.smallSpacing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment