Skip to content

Inconsistencies in new Container figure #441

@ptziegler

Description

@ptziegler

This is an umbrella issue to keep track of the odd behavior that can be observed when working with the Container figure.

  • Because borders are not drawn, the call to setBorder() should be ignored. Otherwise the insets of the border are still used when performing the layout, leading to "ghost" edges.

  • Because the background is not drawn, the call to setOpaque() should be ignored.

Not necessarily wrong, but still weird:

  • When the layout is set via the constructor, it seems weird to change it later on. Should the call to setLayoutManager() also be ignored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions