How to hide sidebar

I have a wall mount screen (portrait mode) which is currently using habPanel. It runs chromium browser in kiosk mode which loads page at startup.
I am planning to redesign the UI using main UI, and just did some small test to check the behaviour.

Created a custom page with a canvas. Added a widget to the top left corner and a widget to the bottom left corner.

Opened the page on the PC (landscape) using URL /page/overview_2

This shows the page and the page boundaries as a rectangle, with a large Openhab sidebar at the left.
Thought this was maybe because this screen has different resolution, so showed the page on the actual device.

Still the large sidebar, and scrollbars for the actual page content.

As far as I know, I disabled the sidebar, see config below.

Any suggestion how to get the page full screen without any menus/bars ?

config:
  fixedType: canvas
  hideNavbar: true
  hideSidebarIcon: true
  label: overview_2_lbl
  layoutType: fixed
  screenHeight: 1920
  screenWidth: 1080
  showFullscreenIcon: false
  sidebar: false
  gridEnable: true

You’ll notice a little pin icon at the to of the sidebar. Click that and the sidebar collapses to the “hamburger” menu icon at the top.

image

image

What I don’t know is how long it remembers that setting.

There are other “per browser” settings you can make from Help & About. But I don’t think any of those control the sidebar.

A feature request issue would be good to add that as a setting.

Hello! I am facing the same challenge as @waldorf with my setup.

In my case, a “read-only” OH page should be displayed by a keyboard-and-mouse-less Raspberry Pi Zero 2W. The screen I attached to it does not have any touch functionality, so right now I have no way to “click” the pin icon to hide the sidebar.

Did you find any solution to this problem?

Configure VNC on the RPi and connect to the RPi using a VNC client.

Add

sidebar: false
hideSidebarIcon: true 

to the config section of the page.
It is not a per browser config, though.