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))
|
||||
width: 140
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
@@ -132,6 +133,7 @@ Item {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
elide: Text.ElideRight
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
|
@@ -33,4 +33,5 @@ Text {
|
||||
font.pixelSize: 12
|
||||
font.bold: index % 2 === 0
|
||||
textFormat: Text.PlainText
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
@@ -152,6 +152,7 @@ Item {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
width: parent.width
|
||||
color: "white"
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
// Details area
|
||||
@@ -216,6 +217,7 @@ Item {
|
||||
y: 4
|
||||
text:"X"
|
||||
color: "white"
|
||||
renderType: Text.NativeRendering
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
|
@@ -116,6 +116,7 @@ Item {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
width: parent.width
|
||||
color: "white"
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
// Details area
|
||||
@@ -169,6 +170,7 @@ Item {
|
||||
y: 4
|
||||
text:"X"
|
||||
color: "white"
|
||||
renderType: Text.NativeRendering
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: -8
|
||||
|
Reference in New Issue
Block a user