~elopio/unity8/wait_for_category

« back to all changes in this revision

Viewing changes to Dash/DashPreview.qml

add tests for switching previews

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import QtQuick 2.0
18
18
import Ubuntu.Components 0.1
19
19
 
20
 
Rectangle {
 
20
Item {
21
21
    id: root
22
22
 
23
23
    property int keyboardSize: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
36
36
    readonly property int columnWidth: narrowMode ? contentRow.width : (contentRow.width / 3) - contentRow.spacing
37
37
    readonly property int contentSpacing: units.gu(3)
38
38
 
39
 
    color: Qt.rgba(0, 0, 0, .3)
40
39
    clip: true
41
40
 
42
41
    function ensureVisible(item) {
61
60
        anchors.fill: parent
62
61
    }
63
62
 
64
 
 
65
63
    Row {
66
64
        id: contentRow
67
65
        anchors {