WelcomePage: fix mouse area for sessions

Change-Id: I805ee99e075fe4873ce98ae5683729e806010ff8
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-03-02 12:08:05 +01:00
parent c283323afd
commit b4d79d2d25
2 changed files with 5 additions and 1 deletions

View File

@@ -53,6 +53,8 @@ Text {
mouseArea.state = ""
}
property bool enlargeMouseArea: true
CustomFonts {
id: fonts
}
@@ -87,7 +89,7 @@ Text {
MouseArea {
id: mouseArea
anchors.fill: parent
anchors.margins: -8
anchors.margins: enlargeMouseArea ? -8 : 0
hoverEnabled: true
QStyleItem { cursor: "pointinghandcursor"; anchors.fill: parent }

View File

@@ -68,6 +68,8 @@ Item {
width: delegate.ListView.view.width - 80
elide: Text.ElideRight
enlargeMouseArea: false
Rectangle {
z: -4
color: "#f9f9f9"