forked from qt-creator/qt-creator
QmlProfiler: Native text rendering for all text elements
Change-Id: Ife322b57479bac885a3dc6a898e6516be6e8e15e Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -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 {
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
|
@@ -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: {
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user