diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-25 19:28:36 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-25 19:49:47 +0000 |
commit | 46215a8bcc4423fe79be4e4830435a1e10db22e7 (patch) | |
tree | 319cad15d62597bea6f626ad1ade7774fb864e62 /examples | |
parent | d703de8752e07cb12e8ce2e2a05d608f2b26425a (diff) |
Remove ToggleButton
We don't have a sensible design. It's better not to have it at
all than to have a confusing tiny bit tweaked clone of Switch.
Change-Id: Ib0eabd075590100e9e49846c7172909525b54a57
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/controls/mirroring/main.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/controls/mirroring/main.qml b/examples/quick/controls/mirroring/main.qml index 85a19425..6f834b34 100644 --- a/examples/quick/controls/mirroring/main.qml +++ b/examples/quick/controls/mirroring/main.qml @@ -59,7 +59,7 @@ ApplicationWindow { headerPositioning: ListView.PullBackHeader header: Rectangle { - property alias mirror: mirrorToggle.checked + property alias mirror: mirrorSwitch.checked z: 2 width: parent.width @@ -77,8 +77,8 @@ ApplicationWindow { font.pointSize: 26 } - ToggleButton { - id: mirrorToggle + Switch { + id: mirrorSwitch text: "Mirror" anchors.right: parent.right anchors.bottom: parent.bottom |