This page is part of archived documentation for openHAB 4.3. Go to the current stable version

# oh-grid-layout - Fixed Grid Layout

Arranges widgets on a grid of squares with user-defined sizes

# Configuration

# Layout Settings

# colNum Number of Columns INTEGER

Number of columns across the page (default 16, limited to a minimum widget width of 50px)

# margin Margin INTEGER

Margin between items and to screen (default 10)

# verticalCompact Vertical Compact BOOLEAN

Automatically align items from top to bottom (default false)

# Screen Settings

# screenWidth Screen Width INTEGER

Screen width in pixels (default 1280)

# screenHeight Screen Height INTEGER

Screen height in pixels (default 720)

# scale Scaling BOOLEAN

Scale content to other screen widths (can lead to unexpected styling issues) (default false)

# Appearance

# hideNavbar Hide Navigation bar BOOLEAN

Hide navigation bar on top when page is displayed (You can additionally hide the sidebar using its pin icon) (default false)

# hideSidebarIcon Hide Sidebar Icon BOOLEAN

Don't show a menu icon in the top left corner when the sidebar is closed (default false)

# showFullscreenIcon Show Fullscreen Icon BOOLEAN

Show a fullscreen icon on the top right corner (default false)