Only layouts actually supporting margins now implement MarginHandler
CssLayout should be simplified before 7.0.0 so margin support was removed. GridLayout, VerticalLayout and HorizontalLayout were the only other layouts which actually supported margin.
MarginInfo is now passed directly in the state.
- Added MarginHandler interface which contains getMargin() and setMargin(MarginInfo).
- Renamed client side MarginInfo to IMarginInfo to avoid mixups.
svn changeset:6081/svn branch:trunk
Major layout API changes: Sizeable is now deprecated. Use HasSize-interface instead in combination with Size object (see ExpandLayout.java for example). OrderedLayout is no longer sizable. Table and Panel implement compatibility methods to proxy old size calls to the new Size object.
-Layout API changes: Layout extends Sizeable, Layout has two methods setMargin.
-OrderedLayout and GridLayout got two new mehtods: setSpacing and setComponentAlignment.
-Client-side layout implementations now mainly done using TABLE elements (changes to IOrderedLayout and IExpandLayout).
-IScrollTable initial height calculation modified (small fix, clientHeight -> offsetHeight).
-Some test modified to conform to new layout API.
-Small typo fixes in comments.
-OrderedLayout fix when changing orientation on the fly.
-Panel and TabSheet are no longer Layouts, only ComponentContainers.
-Refactored layout margins to use MarginInfo class, more readable, self-documenting code now.
svn changeset:2827/svn branch:trunk
-Layouts no longer implement Sizeable (except SplitPanel and ExpandLayout). Sizeable implementation now copy-pasted to all implementing classes (Panel, Tabsheet, SplitPanel...).
-Changed ReservationApplication to conform to new setStyleName. Removed deprecated style constant usages also. Some margins enabled to layouts.
-IOrderedLayout vertical reverted back to DIV implementation.
-Margins added to demo layouts where needed.
svn changeset:2714/svn branch:trunk