Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

QML Icons bad quality

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...