Skip to content

getPreferredHeight and getPreferredWidth return incorrect values #3

@hannsl

Description

@hannsl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions