Fix icon sizing in main menu
This commit is contained in:
parent
5f0a6204b4
commit
d3d51cc76e
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user