diff --git a/clients/aurorae/src/qml/AuroraeButtonGroup.qml b/clients/aurorae/src/qml/AuroraeButtonGroup.qml index e2f171e1c2..44792cdc65 100644 --- a/clients/aurorae/src/qml/AuroraeButtonGroup.qml +++ b/clients/aurorae/src/qml/AuroraeButtonGroup.qml @@ -54,13 +54,7 @@ Item { createButtons(); } anchors { - top: parent.top + top: root.top topMargin: (decoration.maximized ? auroraeTheme.titleEdgeTopMaximized : auroraeTheme.titleEdgeTop + root.padding.top) + auroraeTheme.buttonMarginTop } - Behavior on anchors.topMargin { - enabled: group.animate - NumberAnimation { - duration: auroraeTheme.animationTime - } - } } diff --git a/clients/aurorae/src/qml/aurorae.qml b/clients/aurorae/src/qml/aurorae.qml index e455b6b046..fc63a8ff91 100644 --- a/clients/aurorae/src/qml/aurorae.qml +++ b/clients/aurorae/src/qml/aurorae.qml @@ -129,15 +129,9 @@ Decoration { width: childrenRect.width animate: root.animate anchors { - left: parent.left + left: root.left leftMargin: decoration.maximized ? auroraeTheme.titleEdgeLeftMaximized : (auroraeTheme.titleEdgeLeft + root.padding.left) } - Behavior on anchors.leftMargin { - enabled: root.animate - NumberAnimation { - duration: auroraeTheme.animationTime - } - } } AuroraeButtonGroup { id: rightButtonGroup @@ -145,15 +139,9 @@ Decoration { width: childrenRect.width animate: root.animate anchors { - right: parent.right + right: root.right rightMargin: decoration.maximized ? auroraeTheme.titleEdgeRightMaximized : (auroraeTheme.titleEdgeRight + root.padding.right) } - Behavior on anchors.rightMargin { - enabled: root.animate - NumberAnimation { - duration: auroraeTheme.animationTime - } - } } Text { id: caption @@ -191,12 +179,6 @@ Decoration { duration: auroraeTheme.animationTime } } - Behavior on anchors.topMargin { - enabled: root.animate - NumberAnimation { - duration: auroraeTheme.animationTime - } - } } PlasmaCore.FrameSvgItem { id: innerBorder