mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Limit the max height of images inside CustomButton
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
97904d3b20
commit
ea43ebfe91
@ -35,6 +35,7 @@ RowLayout {
|
||||
id: icon
|
||||
|
||||
Layout.fillWidth: !buttonLabel.visible
|
||||
Layout.maximumHeight: root.height
|
||||
|
||||
source: root.hovered ? root.imageSourceHover : root.imageSource
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
Loading…
Reference in New Issue
Block a user