OH3: Hide Navbar

Hi @Oliver2 and @RGroll,

I meant rainers widget with the date and event preview. :wink:

Nico

ups. I replied to the wrong person. was aimed at the poster above

Hi Oliver,
I am also trying to hide the top bar on a “tabbed page” and I simply can’t get it working. Could you please share your config code ? At which position in the code do I have to add the discussed hideNavbar addition ?

Thank you very much
Hendrik

tabs:
  - component: oh-tab
    config:
      title: Dashboard Neu
      icon: f7:squares_below_rectangle
      page: page:home
      showFullscreenIcon: true
      hideNavbar: true
    slots:
      default: []
  - component: oh-tab
    config:
      title: Guda Morga
      icon: f7:squares_below_rectangle
      page: page:page_garbage
      showFullscreenIcon: true
      hideNavbar: true
    slots:
      default: []

this is exactly what I want to achieve as well…removing the top bar and only having the bottom navigation bar available and the entire remaining space is available for widgets :heart_eyes:

any way to make this work with tabbed pages?

1 Like

I can’t get rid of the top bar on tabbed page either :face_with_raised_eyebrow:

1 Like

Since the tabbed pages code in the UI does not show the config section I added the hide configs directly to the jsondb storage (while openhab was stopped) in /var/lib/openhab/jsondb/uicomponents_ui_page.json to remove the bars:

    "value": {
      "uid": "page_a5c30b551f",
      "tags": [],
      "props": {
        "parameters": [],
        "parameterGroups": []
      },
      "timestamp": "Mar 16, 2023, 6:35:52 AM",
      "component": "oh-tabs-page",
      "config": {
        "label": "test",
        "sidebar": true,
        "hideNavbar": true,
        "hideSidebarIcon": true
      },
4 Likes

Hello @matthias77
After editing the with…

sudo nano /var/lib/openhab/jsondb/uicomponents_ui_page.json

and performed a restart of openhab, the content of the file uicomponents_ui_page.json felt back to default after some time.

Any ideas?

Hi,

Did you make sure openhab was completely stopped before editing the file? I never checked but assuned that the file would be updated when openhab stopps.

Matthias

1 Like

I guess that was the mistake. Seems its persistent now. Thank you for that hint.
Overlooked your note.

…added the hide config directly to the jsondb storage (while openhab was stopped)…

Glad I could help.

1 Like