Changeset View
Changeset View
Standalone View
Standalone View
src/qml/PlayListEntry.qml
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Line(s) | 128 | ColumnLayout { | |||
---|---|---|---|---|---|
135 | Item { | 135 | Item { | ||
136 | Layout.fillWidth: true | 136 | Layout.fillWidth: true | ||
137 | Layout.fillHeight: true | 137 | Layout.fillHeight: true | ||
138 | 138 | | |||
139 | RowLayout { | 139 | RowLayout { | ||
140 | id: trackRow | 140 | id: trackRow | ||
141 | 141 | | |||
142 | anchors.fill: parent | 142 | anchors.fill: parent | ||
143 | anchors.leftMargin: elisaTheme.layoutHorizontalMargin | ||||
143 | 144 | | |||
144 | spacing: elisaTheme.layoutHorizontalMargin / 4 | 145 | spacing: elisaTheme.layoutHorizontalMargin / 4 | ||
145 | 146 | | |||
146 | Item { | 147 | Item { | ||
147 | id: playIconItem | 148 | id: playIconItem | ||
148 | 149 | | |||
149 | implicitHeight: elisaTheme.smallDelegateToolButtonSize | 150 | implicitHeight: elisaTheme.smallDelegateToolButtonSize | ||
150 | implicitWidth: elisaTheme.smallDelegateToolButtonSize | 151 | implicitWidth: elisaTheme.smallDelegateToolButtonSize | ||
▲ Show 20 Lines • Show All 241 Lines • ▼ Show 20 Line(s) | 392 | LabelWithToolTip { | |||
392 | id: durationLabel | 393 | id: durationLabel | ||
393 | 394 | | |||
394 | text: duration | 395 | text: duration | ||
395 | 396 | | |||
396 | font.weight: (isPlaying ? Font.Bold : Font.Normal) | 397 | font.weight: (isPlaying ? Font.Bold : Font.Normal) | ||
397 | color: myPalette.text | 398 | color: myPalette.text | ||
398 | 399 | | |||
399 | Layout.alignment: Qt.AlignVCenter | Qt.AlignRight | 400 | Layout.alignment: Qt.AlignVCenter | Qt.AlignRight | ||
400 | Layout.leftMargin: elisaTheme.layoutHorizontalMargin / 2 | 401 | Layout.leftMargin: elisaTheme.layoutHorizontalMargin | ||
401 | Layout.rightMargin: elisaTheme.layoutHorizontalMargin / 2 | 402 | Layout.rightMargin: elisaTheme.layoutHorizontalMargin | ||
402 | 403 | | |||
403 | horizontalAlignment: Text.AlignRight | 404 | horizontalAlignment: Text.AlignRight | ||
404 | } | 405 | } | ||
405 | } | 406 | } | ||
406 | } | 407 | } | ||
407 | } | 408 | } | ||
408 | 409 | | |||
409 | states: [ | 410 | states: [ | ||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |