forked from qt-creator/qt-creator
WelcomePage: fix mouse area for sessions
Change-Id: I805ee99e075fe4873ce98ae5683729e806010ff8 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -68,6 +68,8 @@ Item {
|
||||
width: delegate.ListView.view.width - 80
|
||||
elide: Text.ElideRight
|
||||
|
||||
enlargeMouseArea: false
|
||||
|
||||
Rectangle {
|
||||
z: -4
|
||||
color: "#f9f9f9"
|
||||
|
||||
Reference in New Issue
Block a user