RFR: 4811995: BorderLayout does not respect minimum size of its components
Alan Snyder
javalists at cbfiddle.com
Mon Apr 21 20:47:57 UTC 2025
> On Apr 20, 2025, at 1:24 AM, Jeremy Wood <duke at openjdk.org> wrote:
>
> Our work-around was more complex than this PR: we wrote a modified BorderLayout that would switch to using `component.getMinimumSize()` when the preferred size wouldn't fit. IMO that is a better option all-around, but it is dangerously invasive for an OpenJDK proposal.
But it would not be dangerous as a new Layout Manager, would it?
Or it could go in a third party library.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20250421/bf8238d0/attachment.htm>
More information about the client-libs-dev
mailing list