mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
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:
commit
c6f853fc7e
3 changed files with 5 additions and 3 deletions
|
@ -62,7 +62,7 @@ MouseArea {
|
|||
anchors.leftMargin: Style.standardSpacing
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
spacing: 10
|
||||
spacing: Style.activityContentSpace
|
||||
|
||||
ActivityItemContent {
|
||||
id: activityContent
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue