**Hi,
I have used some images in a QML Gridlayout. I have seen that the images got distorted when i resized the whole application, below is the source code for adding the image “heading1.png” in the Gridlayout.
Is this the problem because of the image pixel size, the “heading1.png” is 144*28 pixel and bit depth is 32. Sorry i am not good in image properties.
GridLayout {
id: work_layout
anchors.top: work_screen.top
rows: 9
columns: 3
rowSpacing: 5
columnSpacing: 5
//anchors.topMargin: 5
flow: GridLayout.TopToBottom
Image{
id: radios
source: "images/heading1.png"
opacity: 1
Layout.fillWidth: true
Layout.row: 0
Layout.column: 0
Layout.columnSpan: 2
}
...................
...................
}
Regards
Ansif
↧