plasmoid: Improve displaying detail items

This commit is contained in:
Martchus 2017-10-05 00:10:18 +02:00
parent ea96c64563
commit 4d242f56c6
1 changed files with 5 additions and 2 deletions

View File

@ -7,12 +7,15 @@ RowLayout {
property string detailName: name ? name : ""
property string detailValue: detail ? detail : ""
spacing: theme.defaultFont.pointSize * 0.8
PlasmaComponents.Label {
Layout.preferredWidth: 100
Layout.leftMargin: units.iconSizes.smallMedium
text: detailName
text: detailName + ":"
font.pointSize: theme.defaultFont.pointSize * 0.8
elide: Text.ElideRight
font.weight: Font.DemiBold
horizontalAlignment: Qt.AlignRight
}
PlasmaComponents.Label {
Layout.fillWidth: true