Community
Participate
Working Groups
Currently, the item height (Tree/Table for example) is calculated form the text/image height and the top/bottom padding. In some cases it will be useful to set a fixed custom item height from outside: - support markup in the items; - custom native client item height; This could be achieved by setting the custom item height trough the Control#setData. A new specific constant will be needed - RWT.CUSTOM_ITEM_HEIGHT. Custom item height will override the calculated one. Example: table.setData( RWT.CUSTOM_ITEM_HEIGHT, new Integer( 45 ) ); I will suggest to create the implementation on Tree and Table as a start and extend it on the other item-based controls (List, TabFolder...) on request.
Implemented as described in the bug description. Changes are in CVS HEAD.