diff --git a/src/qml/views/StatusConfigView.qml b/src/qml/views/StatusConfigView.qml index 53473d2..9b7cc13 100644 --- a/src/qml/views/StatusConfigView.qml +++ b/src/qml/views/StatusConfigView.qml @@ -76,6 +76,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true + spacing: Theme.spacing.small RowLayout { Layout.fillWidth: true @@ -90,13 +91,15 @@ Rectangle { (root.useGeneratedConfig ? " " + qsTr("(Generated)") : "") font.pixelSize: Theme.typography.secondaryText color: Theme.palette.textSecondary - wrapMode: Text.WordWrap + // A long absolute config path has no spaces to wrap on and + // overflows the row — elide the middle so the leading dirs + // and the file name both stay visible. + elide: Text.ElideMiddle } } RowLayout { Layout.fillWidth: true - Layout.topMargin: -Theme.spacing.small spacing: Theme.spacing.small LogosText { text: qsTr("Deployment Config: ") @@ -111,7 +114,7 @@ Rectangle { (root.deploymentConfig || qsTr("No file selected"))) font.pixelSize: Theme.typography.secondaryText color: Theme.palette.textSecondary - wrapMode: Text.WordWrap + elide: Text.ElideMiddle } } }