Skip to content
Snippets Groups Projects
Commit b4d79d2d authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

WelcomePage: fix mouse area for sessions


Change-Id: I805ee99e075fe4873ce98ae5683729e806010ff8
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent c283323a
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,8 @@ Text { ...@@ -53,6 +53,8 @@ Text {
mouseArea.state = "" mouseArea.state = ""
} }
property bool enlargeMouseArea: true
CustomFonts { CustomFonts {
id: fonts id: fonts
} }
...@@ -87,7 +89,7 @@ Text { ...@@ -87,7 +89,7 @@ Text {
MouseArea { MouseArea {
id: mouseArea id: mouseArea
anchors.fill: parent anchors.fill: parent
anchors.margins: -8 anchors.margins: enlargeMouseArea ? -8 : 0
hoverEnabled: true hoverEnabled: true
QStyleItem { cursor: "pointinghandcursor"; anchors.fill: parent } QStyleItem { cursor: "pointinghandcursor"; anchors.fill: parent }
......
...@@ -68,6 +68,8 @@ Item { ...@@ -68,6 +68,8 @@ Item {
width: delegate.ListView.view.width - 80 width: delegate.ListView.view.width - 80
elide: Text.ElideRight elide: Text.ElideRight
enlargeMouseArea: false
Rectangle { Rectangle {
z: -4 z: -4
color: "#f9f9f9" color: "#f9f9f9"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment