aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rhitextureitem/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/rhitextureitem/main.qml')
-rw-r--r--examples/quick/scenegraph/rhitextureitem/main.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/rhitextureitem/main.qml b/examples/quick/scenegraph/rhitextureitem/main.qml
index c29cd2ecd6..4cf06c6ad7 100644
--- a/examples/quick/scenegraph/rhitextureitem/main.qml
+++ b/examples/quick/scenegraph/rhitextureitem/main.qml
@@ -170,7 +170,7 @@ Item {
id: slSize
enabled: cbSize.checked
from: 8
- to: 1024
+ to: 2048
value: 128
}
}
@@ -179,6 +179,10 @@ Item {
text: qsTr("Backing texture size: %1x%2 pixels").arg(renderer.effectiveTextureSize.width).arg(renderer.effectiveTextureSize.height)
}
+ Label {
+ text: qsTr("Item logical size: %1x%2").arg(renderer.width).arg(renderer.height)
+ }
+
CheckBox {
id: cbBlend
text: qsTr("Force alpha blending\nregardless of item opacity")
@@ -224,7 +228,7 @@ Item {
}
GroupBox {
- title: qsTr("Texture format (no visible effect)")
+ title: qsTr("Texture format")
ColumnLayout {
RadioButton {
id: rdFormatRGBA8