Enough-Software/glaze — Issue #3: getPreferredHeight and getPreferredWidth return incorrect values
Author: hannsl
Created: 2011-12-10 16:53:19+00:00
State: open

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.