Merge pull request #4572 from nextcloud/enh/notifications-actions

Reduce spacing above the buttons: spacing should be same as space between lines in the text above
This commit is contained in:
Matthieu Gallien 2022-05-25 12:08:22 +02:00 committed by GitHub
commit c6f853fc7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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));
}