Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to use buttons with icons in my QML/PySide2 app. But unfortunately QML dramatically reduces quality of icon. Here is printscreen of the same icon - on the left is opened in standard windows photo viewer and on the right in QML app. Icon is in size 96x96, .png format and in qml code I set the icon width and height as 96. What could cause this? Are there some setting "underhood" that reduce resolution of the icon?

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...