DashLayout - Vaadin Add-on Directory
Use arbitrary margin/border/padding combinations with your layouts without a hassle, and render complex layouts faster.Use arbitrary margin/border/padding combinations without a hassle, and render complex layouts faster than the default Vaadin Vertical and Horizontal layouts.
DashLayout has two different layouts: VerDashLayout and HorDashLayout, former corresponding to VerticalLayout and latter to HorizontalLayout.
DashLayout has the exact same API as Vertical and Horizontal layouts, since it fulfills the same tasks. The only exception to default Vaadin layouts is that DashLayout does not provide caption support (at least not yet).
Differences to normal Vertical and Horizontal layouts
- Only one DIV element per layout. No extra container elements per child component. This means that the layouts are much leaner for the browser to render.
- You can use arbitrary margin/border/padding values for the layout element, even if 100% size is used.
- You can use arbitrary margin values for the contained child components, even if 100% sizes are used.
- Specify min/max-width/height for your layouts.
Supports layout click listeners.
Forum discussionSources
Demo
Issue Tracker
DashLayout version 0.1.5-beta
null
DashLayout version 0.1.6
Now works in Internet Explorer 9 as well.