|Swing - problem with GridBagLayout [message #764235]
||Sun, 11 December 2011 18:15
Registered: December 2011
I have installed WindowBuilder on my Eclipse Indigo. And I've noticed a strange thing.
Designer set a border for contentPane with 5 pixel insets (for default):
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
If I choose a GridBagLayout, I will see that grid represents with an addictional displacement (right and down). The objects, however, are placed in a right places. (see the screenshot)
Is it a bug or a feature?
p.s. I'm Russian, sorry for my poor English.
(Size: 8.03KB, Downloaded 577 times)
[Updated on: Sun, 11 December 2011 21:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01758 seconds