Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Images getting blurred inside GridLayout(Solved)

$
0
0
**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

Viewing all articles
Browse latest Browse all 4972

Trending Articles