From f0deec9ccb3be4b597465b036229aea953a341c7 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 11 Aug 2014 12:27:21 +0200 Subject: [PATCH] Don't hardcode Present Windows close button size REVIEW: 119646 --- effects/presentwindows/main.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/effects/presentwindows/main.qml b/effects/presentwindows/main.qml index 568df56fbc..0a34197860 100644 --- a/effects/presentwindows/main.qml +++ b/effects/presentwindows/main.qml @@ -21,8 +21,9 @@ import QtQuick 2.0 import org.kde.plasma.components 2.0 as Plasma Item { - width: 32 - height: 32 + width: units.iconSizes.medium + height: width + Plasma.Button { id: closeButton objectName: "closeButton"