Implement 'rightIcon' and 'rightIconInactive' image properties for componenent StandardButton

This commit is contained in:
Sander Ferdinand
2018-04-10 22:29:22 +02:00
parent b4353a31ac
commit 67e9109c14
4 changed files with 36 additions and 4 deletions

View File

@@ -329,7 +329,8 @@ Rectangle {
RowLayout {
StandardButton {
id: sendButton
rightIcon: "../images/rightIcon.png"
rightIcon: "../images/rightArrow.png"
rightIconInactive: "../images/rightArrowInactive.png"
Layout.topMargin: 4 * scaleRatio
text: qsTr("Send") + translationManager.emptyString
// Send button is enabled when: