mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix button spacing
This commit is contained in:
parent
9fd70c34f9
commit
e95659811d
2 changed files with 4 additions and 3 deletions
|
@ -26,6 +26,7 @@ AbstractButton {
|
|||
// Workaround, can't get icon.source working for now...
|
||||
anchors.fill: parent
|
||||
source: image != "" ? ("image://colorimage/" + image + "?" + ((button.hovered && changeColorOnHover) ? highlightColor : buttonTextColor)) : ""
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
CursorShape {
|
||||
|
|
|
@ -543,7 +543,7 @@ Page {
|
|||
anchors.margins: Nheko.paddingMedium
|
||||
|
||||
ImageButton {
|
||||
Layout.alignment: Qt.AlignBottom | Qt.AlignLeft
|
||||
Layout.fillWidth: true
|
||||
hoverEnabled: true
|
||||
width: 22
|
||||
height: 22
|
||||
|
@ -572,7 +572,7 @@ Page {
|
|||
|
||||
ImageButton {
|
||||
visible: !collapsed
|
||||
Layout.alignment: Qt.AlignBottom | Qt.AlignHCenter
|
||||
Layout.fillWidth: true
|
||||
hoverEnabled: true
|
||||
width: 22
|
||||
height: 22
|
||||
|
@ -584,7 +584,7 @@ Page {
|
|||
|
||||
ImageButton {
|
||||
visible: !collapsed
|
||||
Layout.alignment: Qt.AlignBottom | Qt.AlignRight
|
||||
Layout.fillWidth: true
|
||||
hoverEnabled: true
|
||||
width: 22
|
||||
height: 22
|
||||
|
|
Loading…
Reference in a new issue