Fix icon sizing in main menu

This commit is contained in:
Michael Zanetti 2021-06-15 23:01:05 +02:00
parent 5f0a6204b4
commit d3d51cc76e

View File

@ -39,8 +39,7 @@ Drawer {
Image {
Layout.preferredHeight: Style.hugeIconSize
// w : h = ss.w : ss.h
Layout.preferredWidth: Style.hugeIconSize * sourceSize.width / sourceSize.height
sourceSize.height: Style.hugeIconSize
source: "qrc:/styles/%1/logo-wide.svg".arg(styleController.currentStyle)
}