I want to ovverride the height value for the image defined in a external PictureBox.qml file:
import QtQuick 2.0
FocusScope {
id: container
...
Column {
id: column
...
Image {
id: icon
width: parent.width; height: 150
...
import QtQuick 2.0
FocusScope {
id: container
...
Column {
id: column
...
Image {
id: icon
width: parent.width; height: 150
...
To copy to clipboard, switch view to plain text mode
this code is called in Main.qml in this way:
Component {
id: userDelegate
PictureBox {
???
...
Component {
id: userDelegate
PictureBox {
???
...
To copy to clipboard, switch view to plain text mode
how can I override height value for the Image element, without touching PictureBox.qml code?
Bookmarks