![show entire image width blocs app show entire image width blocs app](https://i.ytimg.com/vi/X_R43aYe3fs/maxresdefault.jpg)
![show entire image width blocs app show entire image width blocs app](https://images.routledge.com/common/jackets/crclarge/978113849/9781138490857.jpg)
If you plan to share the UI you built, you can expect them to access it with mobile devices rather than desktop computers.įor cells and masonry, you don't have to worry about it, it will be handled for you. With that in mind, it is advisable to build the page for the narrow screens first, and then make sure it expands gracefully to the wider ones, instead of thinking the other way around. Sometimes, it will be on a phone, and other times on a bigger screen. When you're designing a responsive layout page, it's important to remember how this page will be used. The masonry container will decide how many columns it has based on the screen width, and will try to arrange the widgets automatically to form a compact layout. In a row, you may add columns which will spread across the row, possibly wrapping their contents to another row (but still within the same oh-grid-row).Įach column can host one widget from the standard standalone widget library, or a personal one. In a cell container, you may add widgets from the standard cell widget library (or personal widgets, provided they're based on a oh-cell widget or derivative). In every block there could be an arbitrary set of rows or cells containers. # Responsive Layout Pages # Anatomy of a Responsive Layout PageĪ Responsive Layout page can host one or multiple blocks, optionally followed by a masonry layout. Note that the type cannot be changed afterwards. When you first create a layout you are asked which type of layout you want to create. They are used to design a panel-like page for a specific screen size and are most suitable for static interfaces like wall mounted tablets. Within Responsive Layouts you can choose among several types of arrangements, based on whether you want to control the layout completely, or let the container decide where to place the widgets.įixed Grid Layouts allow you to create a Layout Page where elements have predefined positions and sizes. They automatically adjust to the device's screen and thus can be used as general interface from all devices. Responsive Layouts are the main layouts in openHAB and recommended for most uses. You can choose between two different basic types of layouts: Layout Pages are used in the main web user interface to display widgets in an organized manner. Advanced Functionality and Administrative Tasks.