Don't add arbitrary padding

This breaks the vertical-centeredness on the close button.
This commit is contained in:
Loren Burkholder 2021-11-16 20:35:10 -05:00
parent f048caee69
commit b5e25a8369

View file

@ -543,8 +543,7 @@ Page {
id: closeUnverifiedBubble id: closeUnverifiedBubble
Layout.rightMargin: Nheko.paddingMedium Layout.rightMargin: Nheko.paddingMedium
Layout.topMargin: Nheko.paddingMedium Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
Layout.alignment: Qt.AlignRight | Qt.AlignCenter
hoverEnabled: true hoverEnabled: true
width: fontMetrics.font.pixelSize width: fontMetrics.font.pixelSize
height: fontMetrics.font.pixelSize height: fontMetrics.font.pixelSize