Reduce spacing above the notification buttons.

Spacing is now the  same as space between lines in the text above.

Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
Camila 2022-05-19 13:05:30 +02:00 committed by Matthieu Gallien
parent 2f96f6366a
commit 282aadb7e9
3 changed files with 5 additions and 3 deletions

View file

@ -62,7 +62,7 @@ MouseArea {
anchors.leftMargin: Style.standardSpacing
anchors.verticalCenter: parent.verticalCenter
spacing: 10
spacing: Style.activityContentSpace
ActivityItemContent {
id: activityContent

View file

@ -106,11 +106,11 @@ RowLayout {
Column {
id: activityTextColumn
Layout.topMargin: 4
Layout.topMargin: Style.activityContentSpace
Layout.fillWidth: true
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
spacing: 4
spacing: Style.activityContentSpace
Label {
id: activityTextTitle

View file

@ -97,6 +97,8 @@ QtObject {
readonly property var fontMetrics: FontMetrics {}
readonly property int activityContentSpace: 4
function variableSize(size) {
return size * (1 + Math.min(pixelSize / 100, 1));
}