QmlProfiler: Native text rendering for all text elements

Change-Id: Ife322b57479bac885a3dc6a898e6516be6e8e15e
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-06-24 14:45:16 +02:00
parent c589b239ff
commit 75b5e6fa6b
4 changed files with 7 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ Item {
height: trigger(qmlProfilerModelProxy.rowHeight(modelIndex, 0)) height: trigger(qmlProfilerModelProxy.rowHeight(modelIndex, 0))
width: 140 width: 140
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering
} }
Rectangle { Rectangle {
@@ -132,6 +133,7 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
elide: Text.ElideRight elide: Text.ElideRight
renderType: Text.NativeRendering
} }
} }
MouseArea { MouseArea {

View File

@@ -33,4 +33,5 @@ Text {
font.pixelSize: 12 font.pixelSize: 12
font.bold: index % 2 === 0 font.bold: index % 2 === 0
textFormat: Text.PlainText textFormat: Text.PlainText
renderType: Text.NativeRendering
} }

View File

@@ -152,6 +152,7 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
width: parent.width width: parent.width
color: "white" color: "white"
renderType: Text.NativeRendering
} }
// Details area // Details area
@@ -216,6 +217,7 @@ Item {
y: 4 y: 4
text:"X" text:"X"
color: "white" color: "white"
renderType: Text.NativeRendering
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {

View File

@@ -116,6 +116,7 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
width: parent.width width: parent.width
color: "white" color: "white"
renderType: Text.NativeRendering
} }
// Details area // Details area
@@ -169,6 +170,7 @@ Item {
y: 4 y: 4
text:"X" text:"X"
color: "white" color: "white"
renderType: Text.NativeRendering
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: -8 anchors.leftMargin: -8