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
|
* metrics used by the default font
|
||||||
*/
|
*/
|
||||||
property variant fontMetrics: TextMetrics {
|
property var fontMetrics: FontMetrics {
|
||||||
text: "M"
|
|
||||||
function roundedIconSize(size) {
|
function roundedIconSize(size) {
|
||||||
if (size < 16) {
|
if (size < 16) {
|
||||||
return size;
|
return size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user