Dave18
(Dave)
October 15, 2025, 7:39am
1
Hi, how to turn off top menu in app viewer?
snabela
(Alexander Schiftner)
October 15, 2025, 7:53am
2
Do you want to switch it off completely, or hide some of the buttons?
Dave18
(Dave)
October 15, 2025, 8:07am
3
It’s best to leave what’s in the picture above.
snabela
(Alexander Schiftner)
October 16, 2025, 4:16pm
4
This is possible by creating a theme file for your app and using the themeOverrides property to override the default property values of the ViewportIcons component. There are some examples on how to override component properties in the help center .
*/
ViewportComponent: ViewportComponentThemeProps({
// sessionSettingsMode: SESSION_SETTINGS_MODE.FIRST,
// showStatistics: true,
}),
/**
* ViewportIcons
*
* Which viewport icons to display.
*/
ViewportIcons: ViewportIconsThemeProps({
// style: {
// border: "none",
// display: "flex",
// gap: "0.25rem",
// alignItems: "center",
// flexDirection: "row",
// },
// fullscreenId: "viewer-fullscreen-area",
// enableHistoryButtons: true,
// enableModelStateButtons: true,