apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.68k stars 854 forks source link

FlatLAF: Wrong tab width for output window when in unclosable editor mode #5654

Open trixon opened 1 year ago

trixon commented 1 year ago

Apache NetBeans version

Apache NetBeans 17

What happened

The tab width is wrong for the output window when located in editor mode and with closing disabled for FlatLAF (and GTK).

FlatLAF Screenshot_20230311_080225

Metal Screenshot_20230311_080414

Nimbus Screenshot_20230311_080444

GTK Screenshot_20230311_080646

How to reproduce

Set Editor.TopComponent.Closing.Enabled=false & move the output window to editor mode.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Fedora Linux 6.1.15-200.fc37.x86_6

JDK

OpenJDK Runtime Environment Zulu19.32+15-CA (build 19.0.2+7)

Apache NetBeans packaging

Apache NetBeans Snap Package

Anything else

No response

Are you willing to submit a pull request?

No

trixon commented 1 year ago

and here is a short example that displays it all. https://github.com/trixon/NETBEANS_5654