Closed Hellf0rg0d closed 3 months ago
This is not a problem with the FlatLaf library. Positioning components "freely" is not the best way to build your graphical interface 👎 . Make use of layout managers, such as MigLayout (this is the best) 👏 or GridLayoutManager (IntelliJ) 👍 and you won't have this type of problem with alignments ✌️ .
i am using group layout...
This is not a FlatLaf bug.
Different L&Fs use different fonts which results in different component sizes.
i am using group layout...
Then tell group layout that the two components should have same width.
I was working on an application and found that the allignment of jtable and jtextfield is incorrect but when i build it without using flatlaf it gets aligned correctly see the screenshots below. without flatlaf :
with flatlaf MacDarkLaf :