---
title: oh-grid-layout - Fixed Grid Layout
component: oh-grid-layout
label: Fixed Grid Layout
description: Arranges widgets on a grid of squares with user-defined sizes
source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-grid-layout.md
prev: /docs/ui/components/
---
# oh-grid-layout - Fixed Grid Layout
[[toc]]
Arranges widgets on a grid of squares with user-defined sizes
## Configuration
### Layout Settings
Number of columns across the page (default 16, limited to a minimum widget width of 50px)
Margin between items and to screen (default 10)
Automatically align items from top to bottom (default false)
### Screen Settings
Screen width in pixels (default 1280)
Screen height in pixels (default 720)
Scale content to other screen widths (can lead to unexpected styling issues) (default false)
### Appearance
Hide navigation bar on top when page is displayed (You can additionally hide the sidebar using its pin icon) (default false)
Don't show a menu icon in the top left corner when the sidebar is closed (default false)
Show a fullscreen icon on the top right corner (default false)