diff --git a/plugins/runcommand/kdeconnect_runcommand_config.qml b/plugins/runcommand/kdeconnect_runcommand_config.qml
index e6715375f..4a7e04551 100644
--- a/plugins/runcommand/kdeconnect_runcommand_config.qml
+++ b/plugins/runcommand/kdeconnect_runcommand_config.qml
@@ -5,6 +5,7 @@
*/
import QtQuick 2.15
+import QtQuick.Layouts
import QtQuick.Controls 2.15 as QQC2
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kdeconnect 1.0
@@ -35,8 +36,18 @@ ListView {
width: parent.width
enabled: true
- contentItem: QQC2.Label {
- text: i18n("%1
%2", name, command)
+ contentItem: ColumnLayout {
+ QQC2.Label {
+ text: name
+ Layout.fillWidth: true
+ elide: Text.ElideRight
+ }
+ QQC2.Label {
+ text: command
+ font.italic: true
+ Layout.fillWidth: true
+ elide: Text.ElideRight
+ }
}
actions: Kirigami.Action {