Hi Motza!
The Navigation element always shows the drawer icon on the left side of the navigation bar.
But you can manually build a UI like that by using a custom AppDrawer and Page::rightBarItem:
import Felgo 3.0
import QtQuick 2.0
App {
// app drawer that fills the whole screen
AppDrawer {
id: mainDrawer
drawerPosition: drawerPositionRight
z: 1
// move drawer gesture area below navigation bar
slideInStartY: dp(Theme.navigationBar.height) + Theme.statusBarHeight
// drawer background
Rectangle {
anchors.fill: parent
color: "white"
}
// list of items
AppListView {
y: Theme.statusBarHeight
model: 10
delegate: SimpleRow { text: index }
}
}
// navigation stack with navigation bar
NavigationStack {
Page {
title: qsTr("Main Page")
// add nav icon on the right
rightBarItem: IconButtonBarItem {
icon: IconType.navicon
onClicked: mainDrawer.toggle()
}
// other page elements
}
}
}
Best,
Günther