File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ MMPage {
110110
111111 title: qsTr ( " A tip from us" )
112112 description: qsTr ( " A good candidate for a workspace name is the name of your team or organisation" )
113+ descriptionMaxLines: 3
113114
114115 imageSource: __style .bubbleImage
115116 }
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Rectangle {
1717 property alias title: titleText .text
1818 property alias description: descriptionText .text
1919
20+ property int descriptionMaxLines: 2
21+
2022 property string linkText
2123
2224 property color textColor: __style .deepOceanColor
@@ -90,7 +92,7 @@ Rectangle {
9092 color: root .textColor
9193
9294 wrapMode: Label .Wrap
93- maximumLineCount: 2
95+ maximumLineCount: descriptionMaxLines
9496 elide: Text .ElideRight
9597
9698 lineHeight: __style .fontLineHeight24
You can’t perform that action at this time.
0 commit comments