RFR: 8216471: GTK LnF: Frame is clipped and does not show JTable,Tooltip and JTree demo in SwingSet2 demo

Abhishek Kumar abhiscxk at openjdk.org
Tue Jul 9 11:54:32 UTC 2024


On Tue, 9 Jul 2024 10:36:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> If the issue is only about width, is it needed to change the height too?

Not exactly but the ratio of width to height was looking odd. so, I proposed to change it too (keeping the aspect ratio same as before).

> Also, is it possible to change the width only when GTK is loaded and not irrespectively?

Tried changing the frame width in [updateThisSwingSet](https://github.com/openjdk/jdk/blob/0e0dfca21f64ecfcb3e5ed7cdc2a173834faa509/src/demo/share/jfc/SwingSet2/SwingSet2.java#L846) method but it didn't work.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20052#issuecomment-2217443017


More information about the client-libs-dev mailing list