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

Setting ToolBar height on Android

$
0
0
I’m new to Qt Quick, apologies in advance if the question is basic. I’m developing an app for iOS and Android on a Mac with OSX 10.9.5 using Qt 5.3.2 (with ArcGIS runtime SDK). When run under iOS the toolBar height adjusts to fit the largest icon size used in ToolButton (note this is within RowLayout). Looks great and works for me. The same code run on Android seem to default to a truly short toolbar height. I’ve tried to increase height using height: and its variants, and even dug back to the ToolBarStyle file and changed implicitHeight:, all without success. Larger icons also don’t seem to make a difference, it appears something Android wants to override height regardless. Is there something I’m missing? Thanks in advance for any help! Chuck      toolBar: ToolBar {         id: toolbar             RowLayout {             width: parent.width             id: topMenu             ToolButton{                 iconSource: "qrc:/bv_47dpi.png"             }             ToolButton{                 iconSource: "qrc:/ar.png"             }             ToolButton{                 iconSource: "qrc:/autocenter_on.png"             }         }

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images