ResizableCssLayout Add-on - Vaadin Add-on Directory
Makes CssLayout resizable with drag and drop from all sides and corners.Extended CssLayout that enables user to resize the layout by using drag and drop from all the corners and sides. Basic features:
- Toggle resize mode on/off
- Server side events from resize start, end and cancel (by user)
- Automatically checks for resize boundaries from parent (can't resize outside parent)
- Automatically updates position when inside an AbsoluteLayout
- Set the size of the resize area in pixels
- Toggle automatic resize accept on client side on/off
- Cancel resize on server side when ResizeEndEvent fired and not on automatic resize accept mode
- Keep current aspect ratio when resizing
- User can cancel the resize any time using Esc key
Online DemoSource Code
Discussion Forum
Issue Tracker
ResizableCssLayout Add-on version 1.0.0
null
ResizableCssLayout Add-on version 1.0.1
Fixed invalid javadocs links.
ResizableCssLayout Add-on version 1.1.0
- Support keeping aspect ratio when resizing
- Fixed 1px offset error when resizing
- Pressing escape should cancel the resize
- Update the right/bottom coordinates when inside a AbsoluteLayout
- Fixed resize handles being partly hidden behind a full-size Grid component
ResizableCssLayout Add-on version 2.0.0
ResizableCssLayout 2.0 is for Vaadin Framework 8. Tested with 8.1.5