Fixed iLayout in several components so it does not run iLayout for its children (this is done automatically by runDescendentsLayout).
svn changeset:5910/svn branch:trunk
Fixes #2152: Embedded: document.onunload and document.onbeforeunload do not fire in IE6/7 when inside CustomLayout
A clear bug in ICustomLayout: overriding onDetach()-method did not call super.onDetach().
This fix is for the 5.3 branch.
svn changeset:5733/svn branch:trunk
Changed the way relative component sizes are handled. Relative sizes are now converted into pixel sizes in ApplictionConnection.
All containers MUST now implement Container which includes the getAllocatedSpace() method used by the relative size calculator.
This also fixes OrderedLayout bugs #2021, #2034, #2030, #2102
Also fixes #2127
svn changeset:5570/svn branch:trunk
-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
-All component stylenames now get prefixed with component base stylename.
-runAnchestorsLayout -> runAncestorsLayout (grammar-fix).
-IPanel stylename conventions changed (again). Now all additional stylenames are added to the panel, e.g. addStyleName("red") + addStyleName("green") -> .i-panel .i-panel-red .i-panel-green
- ^ same for ITabsheet.
-Layout padding convention changed (again). Now by default only Panels and TabSheets have padding, and they can remove that padding by using a constant stylename (Panel.STYLE_NO_PADDING and same for TabSheet).
-IWindow styles altered a bit (now able to move Window in IE6 also :)).
svn changeset:2527/svn branch:trunk