chore(Communities): Align fees box sizing to updated design

This commit is contained in:
Michał Cieślak 2023-07-25 11:32:04 +02:00 committed by Michał
parent cfa19658cd
commit 7f27695f12
3 changed files with 5 additions and 11 deletions

View File

@ -28,10 +28,6 @@ Control {
id: titleText
width: parent.halfWidth
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
text: root.title
wrapMode: Text.Wrap
@ -51,7 +47,6 @@ Control {
width: parent.halfWidth
anchors.right: parent.right
anchors.top: parent.top
textFormat: Text.RichText
text: `<span style="color:${baseColor};` +

View File

@ -32,7 +32,8 @@ StatusGroupBox {
width: root.availableWidth
padding: Style.current.padding
verticalPadding: 18
verticalPadding: 20
background: Rectangle {
radius: Style.current.radius

View File

@ -42,7 +42,7 @@ Control {
QtObject {
id: d
readonly property int delegateHeight: 28
readonly property int placeholderHeight: 24
}
contentItem: ColumnLayout {
@ -52,10 +52,10 @@ Control {
id: placeholderText
Layout.fillWidth: true
Layout.preferredHeight: Math.max(implicitHeight, d.delegateHeight)
Layout.preferredHeight: Math.max(implicitHeight,
d.placeholderHeight)
visible: repeater.count === 0
font.pixelSize: Style.current.primaryTextFontSize
wrapMode: Text.Wrap
color: Theme.palette.baseColor1
@ -67,8 +67,6 @@ Control {
FeeRow {
Layout.fillWidth: true
Layout.preferredHeight: Math.max(implicitHeight,
d.delegateHeight)
title: model.title
feeText: model.feeText