When the styles USE_ALL_HEIGHT and/or USE_ALL_WIDTH are set, getPreferredHeight and/or getPreferredWidth return Integer.MAX_VALUE. I believe this to be incorrect since the meaning of USE_ALL_HEIGHT and USE_ALL_WIDTH is that the field should use all the height/width given to it by its manager. Furthermore, the use of the styles should be taken into account by the ManagerDelegate.sublayout and FieldDelegate.layout methods.