~mterry/+junk/u8.2

« back to all changes in this revision

Viewing changes to tests/qmltests/Dash/tst_Card.qml

  • Committer: Michael Terry
  • Date: 2014-11-17 14:56:04 UTC
  • mfrom: (1317.1.118 unity8)
  • Revision ID: michael.terry@canonical.com-20141117145604-96dn9p5nwkifq2f4
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
                height: units.gu(4)
187
187
                color: "orange"
188
188
            }
 
189
 
 
190
            Rectangle {
 
191
                color: "red"
 
192
                anchors { left: parent.left; right: parent.right }
 
193
                height: units.gu(4)
 
194
                Label {
 
195
                    text: "Toggle Visible"
 
196
                }
 
197
                MouseArea {
 
198
                    anchors.fill: parent
 
199
                    onClicked: loader.visible = !loader.visible
 
200
                }
 
201
            }
189
202
        }
190
203
    }
191
204