Changeset View
Changeset View
Standalone View
Standalone View
JobDetailsItem.qml
Context not available. | |||||
101 | height: paintedHeight | 101 | height: paintedHeight | ||
---|---|---|---|---|---|
102 | 102 | | |||
103 | font: theme.smallestFont | 103 | font: theme.smallestFont | ||
104 | text: jobItem["label" + index] || "" | 104 | text: { | ||
105 | var currLabel = jobItem["label" + index] | ||||
106 | return currLabel.slice(0, currLabel.lastIndexOf('/') + 1) || "" | ||||
107 | } | ||||
105 | textFormat: Text.PlainText | 108 | textFormat: Text.PlainText | ||
106 | elide: Text.ElideMiddle | 109 | elide: Text.ElideMiddle | ||
107 | 110 | | |||
Context not available. |