diff options
-rw-r--r-- | basicsuite/enterprise-flat-controls/Content.qml | 2 | ||||
-rw-r--r-- | basicsuite/enterprise-flat-controls/main.qml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/basicsuite/enterprise-flat-controls/Content.qml b/basicsuite/enterprise-flat-controls/Content.qml index 51569ce..7c630f2 100644 --- a/basicsuite/enterprise-flat-controls/Content.qml +++ b/basicsuite/enterprise-flat-controls/Content.qml @@ -162,6 +162,7 @@ Item { text: modelData font.family: Flat.FlatStyle.fontFamily Layout.preferredWidth: fontMetrics.advanceWidth("Second") + renderType: Text.QtRendering } Switch { checked: index == 0 } } @@ -223,6 +224,7 @@ Item { Label { text: "Camera " + (index + 1) font.family: Flat.FlatStyle.fontFamily + renderType: Text.QtRendering } } } diff --git a/basicsuite/enterprise-flat-controls/main.qml b/basicsuite/enterprise-flat-controls/main.qml index 0b9f4e9..a639001 100644 --- a/basicsuite/enterprise-flat-controls/main.qml +++ b/basicsuite/enterprise-flat-controls/main.qml @@ -135,6 +135,7 @@ Rectangle { font.family: Flat.FlatStyle.fontFamily font.pixelSize: Math.round(16 * Flat.FlatStyle.scaleFactor) color: "white" + renderType: Text.QtRendering anchors.left: parent.left anchors.leftMargin: menuMargins anchors.verticalCenter: parent.verticalCenter @@ -170,6 +171,7 @@ Rectangle { font.pixelSize: Math.round(15 * Flat.FlatStyle.scaleFactor) font.family: Flat.FlatStyle.fontFamily color: delegateItem.ListView.isCurrentItem ? Flat.FlatStyle.styleColor : Flat.FlatStyle.defaultColor + renderType: Text.QtRendering anchors.left: parent.left anchors.leftMargin: menuMargins anchors.verticalCenter: parent.verticalCenter @@ -320,6 +322,7 @@ Rectangle { font.family: Flat.FlatStyle.fontFamily font.pixelSize: Math.round(16 * Flat.FlatStyle.scaleFactor) color: "white" + renderType: Text.QtRendering anchors.left: parent.left anchors.leftMargin: menuMargins anchors.verticalCenter: parent.verticalCenter @@ -394,6 +397,7 @@ Rectangle { fontSizeMode: Text.Fit verticalAlignment: Text.AlignVCenter color: Flat.FlatStyle.defaultColor + renderType: Text.QtRendering } CheckBox { @@ -416,6 +420,7 @@ Rectangle { font.pixelSize: Math.round(15 * Flat.FlatStyle.scaleFactor) anchors.verticalCenter: parent.verticalCenter color: Flat.FlatStyle.defaultColor + renderType: Text.QtRendering } } |