Change qqc2-desktop-style Units.fontMetrics property to a FontMetrics
This matches most other Kirigami.Units.fontMetrics properties
This commit is contained in:
parent
29e06a6294
commit
ba1bf63e01
@ -150,8 +150,7 @@ QtObject {
|
||||
/**
|
||||
* metrics used by the default font
|
||||
*/
|
||||
property variant fontMetrics: TextMetrics {
|
||||
text: "M"
|
||||
property var fontMetrics: FontMetrics {
|
||||
function roundedIconSize(size) {
|
||||
if (size < 16) {
|
||||
return size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user