-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistencies in new Container figure #441
Comments
Using pure Figure just as layout container for other figures is very heavy weight as the graphics state is saved and restored very often. For pure layout containers this would not be necessary. This new figure can help to reduce memory footprint and drawing performance for these cases.
I found the following additional topics to be considered for ignoring:
|
I mainly added the layout to the constructor to save a line when using I think ignoring a call to |
I don't mind either way. But after looking at it again, I see the layout manager being passed as a constructor argument, which isn't done for any other figure. So I automatically assign it some special meaning, which makes it seem weird that it can easily be replaced. |
My thoughts where that a |
This issue is stale because it has been open for 90 days with no activity. |
This issue is stale because it has been open for 90 days with no activity. |
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:
setLayoutManager()
also be ignored?The text was updated successfully, but these errors were encountered: