Polish client UI labels
This commit is contained in:
@@ -24,6 +24,7 @@ Item {
|
||||
property alias imageSource: image.source
|
||||
property alias statusSource: statusIcon.source
|
||||
|
||||
property real imageSize: 96
|
||||
property real spacing: 10
|
||||
|
||||
default property alias content: colLayout.data
|
||||
@@ -39,15 +40,20 @@ Item {
|
||||
|
||||
Rectangle {
|
||||
Accessible.ignored: true
|
||||
Layout.preferredHeight: normalSize - 20
|
||||
Layout.preferredWidth: normalSize - 20
|
||||
Layout.preferredHeight: imageSize
|
||||
Layout.preferredWidth: imageSize
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
color: spaceDelegate.palette.alternateBase
|
||||
radius: 6
|
||||
border.color: spaceDelegate.palette.mid
|
||||
border.width: 1
|
||||
clip: true
|
||||
|
||||
Image {
|
||||
id: image
|
||||
anchors.fill: parent
|
||||
anchors.margins: 8
|
||||
fillMode: Image.PreserveAspectFit
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
@@ -74,7 +80,7 @@ Item {
|
||||
Accessible.ignored: true
|
||||
Layout.fillWidth: true
|
||||
font.bold: true
|
||||
font.pointSize: 15
|
||||
font.pointSize: 13
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user