> The issue is due to the preferred width of the toggle button in GTK L&F for > GTK3 only. > Comparing the preferred width of toggle button with GTK2 or other LAF, it is > much higher in GTK3. The difference is due to the insets value in GTK3. > > In SwingSet2 demo there are as many as 16 demos are added in toolbar and the > preferred width of frame is set to 720px. > In GTK L&F (For GTK3), overall preferred width of toolbar is ~980 px which is > more than frame width and that results in the clipping of last few demos. > In other L&F and GTK2, the preferred width of toolbar is less than frame > width. Hence, there is no clipping. > > The proposed solution is to increase the width and height of SwingSet2 demo > frame.
Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: copyright year update ------------- Changes: - all: https://git.openjdk.org/jdk/pull/20052/files - new: https://git.openjdk.org/jdk/pull/20052/files/44982dbf..cfc30e20 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20052&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20052&range=03-04 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/20052.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20052/head:pull/20052 PR: https://git.openjdk.org/jdk/pull/20052