Thanks for the fast response! You are right, the tab icons are the same size on ipad and iphone. Visually they “appeared” smaller on the ipad.
I use iconSize:40 icons in my apps, so I specified Component.onCompleted : { Theme.tabBar.iconsize=40; Theme.tabBar.height=60 }
and got larger tab icons, but I expected them to be the same size as in Page’s rightBarItem (also specified 40) — they are not.
This is unexpected! Is there an explanation?
Here is a screengrab from mac os 10.9.5 running Qt 5.6 and Vplay 2.8.1
https://www.dropbox.com/s/ali01gmgq1yov4y/tab1%20iconsizes.tiff?dl=0
Main.qml
import Felgo 3.0
import QtQuick 2.0
App {
Navigation {
// Comment to use a navigation drawer instead of tabs on Android
navigationMode: navigationModeTabs
NavigationItem {
title: qsTr("First Page")
icon: IconType.square
NavigationStack {
FirstPage {}
}
}
NavigationItem {
title: qsTr("Second Page")
icon: IconType.circle
NavigationStack {
SecondPage {}
}
}
}
Component.onCompleted: {Theme.tabBar.height = 60; Theme.tabBar.iconSize = 40; }
}
FirstPage.qml
import Felgo 3.0
import QtQuick 2.0
Page {
title: qsTr("First")
rightBarItem: NavigationBarRow {
IconButtonBarItem {
icon: IconType.square
iconSize: 40
onClicked: console.log("clicked")
}
}
AppText {
anchors.centerIn: parent
text: qsTr("First Page")
}
}