X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=remote%2Fqml%2Fpages%2FDirectoryEntry.qml;fp=remote%2Fqml%2Fpages%2FDirectoryEntry.qml;h=2c97456b4d4c43290fceaa37812b661039e21db9;hb=2c4dde7be7cc32b027812204b152c9f514d2e6aa;hp=f8e0862cc0e3ec4495f1067de66c8e66db1b460d;hpb=4dd3070fa50882b7ec7a26f7d0994c064c6b29d6;p=xinema.git diff --git a/remote/qml/pages/DirectoryEntry.qml b/remote/qml/pages/DirectoryEntry.qml index f8e0862..2c97456 100644 --- a/remote/qml/pages/DirectoryEntry.qml +++ b/remote/qml/pages/DirectoryEntry.qml @@ -9,14 +9,19 @@ Item property alias text: label.text property int iconSize: Theme.iconSizeMedium height: row.height - width: row.width - signal pressed() + signal clicked() Row { id: row - spacing: Theme.paddingSmall + spacing: Theme.paddingMedium + anchors + { + left: parent.left + right: parent.right + margins: Theme.horizontalPageMargin + } Image { @@ -36,10 +41,7 @@ Item MouseArea { - anchors.fill: row - onPressed: - { - entry.pressed(); - } + anchors.fill: parent + onClicked: entry.clicked(); } }