X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=remote%2Fqml%2Fpages%2FDirectoryEntry.qml;h=2c97456b4d4c43290fceaa37812b661039e21db9;hb=194033440e2552a820c3b8197198402acee67c5b;hp=f8e0862cc0e3ec4495f1067de66c8e66db1b460d;hpb=1abfbdd94fa45883f6d742df00508715f79c9954;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(); } }