Hi, all!
I would create a ToolButtons with icons like that
ToolBar{
anchors.fill: parent
RowLayout{
id: toolbarRow
anchors.fill: parent
spacing: 1*pixelDensity
ToolButton{
id:openFile
width: parent.height
iconSource: "qrc:/images/zoom.png"
}
}
}
I would like use my application both for desktop and mobile. It will be great to set toolbuttons icons as parent. But it appears in original size. How can I change icon size using QML?
↧