Closed byDMA closed 3 months ago
Hi, a small layout issue, this field for high spinner is to big. I#m using FlatLaf dark mode, it looks very well https://www.sweethome3d.com/support/forum/viewthread_thread,12872_lastpage,yes#62795
probably Panel.java:
lines 324-326 add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0,0));`
add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0,
should be add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));
add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));
Thanks for that! First time developing in Java in ~20 years, let alone GUI. That was probably a result of copy-pasting from various examples...
Hi, a small layout issue, this field for high spinner is to big. I#m using FlatLaf dark mode, it looks very well https://www.sweethome3d.com/support/forum/viewthread_thread,12872_lastpage,yes#62795
probably Panel.java:
lines 324-326
add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0,
0));`should be
add(heightSpinner, new GridBagConstraints( 3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START, GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));