compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

SwingPanel doesn't honor JComponent's preferredSize

Open jimgoog opened this issue 4 years ago • 1 comments

Using a SwingPanel doesn't seem to honor the JComponent's preferred size:

https://docs.oracle.com/javase/7/docs/api/javax/swing/JComponent.html#getPreferredSize()

Probably by default, unless otherwise constrained by layout and/or a modifier, the SwingPanel should by default honor the JComponent's preferred size as part of layout calculations.

jimgoog avatar Nov 17 '21 23:11 jimgoog

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 16:08 okushnikov