diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2013-07-31 18:22:28 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-31 20:30:32 +0200 |
commit | f8facda0199726cb39875a74af713c1795aaadbe (patch) | |
tree | 30b46ebbe173007426a2e923494ca6f88025a52d /src | |
parent | f01ca1553262413f4b7dce0da42029e73a21f5d8 (diff) | |
download | qtquickcontrols-f8facda0199726cb39875a74af713c1795aaadbe.tar.gz |
ButtonStyle - fixed redundant anchors binding in panel.
Change-Id: I5c280e9571243f7d4f2ca517ba7320ebcd8ab615
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/styles/Base/ButtonStyle.qml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/styles/Base/ButtonStyle.qml b/src/styles/Base/ButtonStyle.qml index 0ddf233f..7721fdf2 100644 --- a/src/styles/Base/ButtonStyle.qml +++ b/src/styles/Base/ButtonStyle.qml @@ -153,7 +153,6 @@ Style { /*! \internal */ property Component panel: Item { - anchors.centerIn: parent anchors.fill: parent implicitWidth: Math.max(labelLoader.implicitWidth + padding.left + padding.right, backgroundLoader.implicitWidth) implicitHeight: Math.max(labelLoader.implicitHeight + padding.top + padding.bottom, backgroundLoader.implicitHeight) |