Commit 32f5640b authored by Nate Graham's avatar Nate Graham
Browse files

Elide long music paths in music path listview

BUG: 459451
FIXED-IN: 22.08.2
parent 01f63956
Pipeline #235756 passed with stage
in 5 minutes and 8 seconds
......@@ -365,14 +365,20 @@ ColumnLayout {
model: ElisaConfigurationDialog.rootPath
delegate: Kirigami.SwipeListItem {
id: delegate
// Don't need a highlight effect on hover
hoverEnabled: false
QQC2.Label {
text: modelData
width: delegate.width - delegate.leftPadding
- delegate.rightPadding
- (action.visible ? action.width : 0)
elide: Text.ElideMiddle
}
actions: Kirigami.Action {
id: action
iconName: "edit-delete"
text: i18nc("@action:button", "Stop looking for music here")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment