Fix button spacing
This commit is contained in:
parent
9fd70c34f9
commit
e95659811d
@ -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 New Issue
Block a user