09-23-2012 06:15 AM
Hi guys,
I'm using a Sheet which contains a Page with an ActionBar. Unfortunately it look like I cannot place the actions on the bar, but only on the overflow menu. So, my UI always shows an empty ActionBar with a full overflow menu.
Is this a bug with having an ActionBar on a Sheet? I'm setting up my actions like this:
actions: [
ActionItem {
title: "Back"
imageSource: "asset:///images/icon11.png"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
mySheet.visible = false
}
},
ActionItem {
title: "Wallpaper"
imageSource: "asset:///images/icon11.png"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
console.log("Wallpaper clicked")
}
},
ActionItem {
title: "Share"
ActionBar.placement: ActionBarPlacement.InOverflow
onTriggered: {
console.log("Share clicked")
}
}
]
Solved! Go to Solution.
09-23-2012 12:27 PM
connyhald wrote:
Hi guys,
I'm using a Sheet which contains a Page with an ActionBar. Unfortunately it look like I cannot place the actions on the bar, but only on the overflow menu. So, my UI always shows an empty ActionBar with a full overflow menu.
Is this a bug with having an ActionBar on a Sheet? I'm setting up my actions like this:
actions: [ ActionItem { title: "Back" imageSource: "asset:///images/icon11.png" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { mySheet.visible = false } }, ActionItem { title: "Wallpaper" imageSource: "asset:///images/icon11.png" ActionBar.placement: ActionBarPlacement.OnBar onTriggered: { console.log("Wallpaper clicked") } }, ActionItem { title: "Share" ActionBar.placement: ActionBarPlacement.InOverflow onTriggered: { console.log("Share clicked") } } ]
I have already submitted Issue BBTEN-212 - please vote - THX
ekke
09-24-2012 02:01 AM
Thanks! I've just voted.
01-12-2013 05:58 AM
Looks like this issue was solved with latest SDK or simulator update. I don't face this issue anymore