Skip to content

Commit

Permalink
Merge pull request #37 from neochapay/master
Browse files Browse the repository at this point in the history
[ListViewItemWithAction] add showNext property
  • Loading branch information
locusf authored Apr 4, 2017
2 parents 84b417a + 70fa970 commit ccd238e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/controls/ListViewItemWithActions.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Item {
property string icon: ""
property string page: ""

property bool showNext: true

property alias actions: actionsLoader.sourceComponent

signal clicked
Expand Down Expand Up @@ -77,7 +79,7 @@ Item {
sourceSize.height: height

source: (icon != "") ? icon : "images/listview-icon-template-s.svg"
//visible: (icon != "")
fillMode: Image.PreserveAspectFit
}

Rectangle{
Expand Down Expand Up @@ -168,7 +170,7 @@ Item {
sourceSize.height: height

source: "images/listview-icon-arrow.svg"
//visible: (page != "")
visible: showNext
}

MouseArea {
Expand Down

0 comments on commit ccd238e

Please sign in to comment.