Skip to content

oh-grid-layout - Fixed Grid Layout ​

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

Configuration ​

Layout Settings ​

colNumNumber of ColumnsINTEGER

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

marginMarginINTEGER

Margin between items and to screen (default 10)

verticalCompactVertical CompactBOOLEAN

Automatically align items from top to bottom (default false)

Screen Settings ​

screenWidthScreen WidthINTEGER

Screen width in pixels (default 1280)

screenHeightScreen HeightINTEGER

Screen height in pixels (default 720)

scaleScalingBOOLEAN

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

Appearance ​

hideNavbarHide Navigation barBOOLEAN

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

hideSidebarIconHide Sidebar IconBOOLEAN

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

showFullscreenIconShow Fullscreen IconBOOLEAN

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