diff --git a/declarativeimports/plasmacomponents/qml/RadioButton.qml b/declarativeimports/plasmacomponents/qml/RadioButton.qml index 4dae33959..cc609d7c5 100644 --- a/declarativeimports/plasmacomponents/qml/RadioButton.qml +++ b/declarativeimports/plasmacomponents/qml/RadioButton.qml @@ -57,7 +57,6 @@ DualStateButton { opacity: checked ? 1 : 0 anchors { fill: parent - margins: parent.margins.left/2 } Behavior on opacity { NumberAnimation { diff --git a/declarativeimports/plasmacomponents/qml/TabButton.qml b/declarativeimports/plasmacomponents/qml/TabButton.qml index 3b616f2d8..a9d273708 100644 --- a/declarativeimports/plasmacomponents/qml/TabButton.qml +++ b/declarativeimports/plasmacomponents/qml/TabButton.qml @@ -63,7 +63,7 @@ Item { target: root onPressedChanged: { //TabBar is the granparent - parent.parent.currentItem = root + root.parent.parent.currentItem = root } } @@ -127,7 +127,7 @@ Item { internal.tabGroup.currentTab = tab } //TabBar is the granparent, done here too in case of no tabgroup - parent.parent.currentItem = root + root.parent.parent.currentItem = root } anchors.fill: parent