Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Swing - problem with GridBagLayout
Swing - problem with GridBagLayout [message #764235] Sun, 11 December 2011 13:15 Go to previous message
Nessi is currently offline Nessi
Messages: 3
Registered: December 2011
Location: Russia
Junior Member
Hi,
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)
index.php/fa/6428/0/

Is it a bug or a feature?

p.s. I'm Russian, sorry for my poor English.
  • Attachment: eclipse.png
    (Size: 8.03KB, Downloaded 385 times)

[Updated on: Sun, 11 December 2011 16:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Creating Radio Button Groups
Next Topic:XWT Editor: get name attribute
Goto Forum:
  


Current Time: Sat May 25 15:14:30 EDT 2013

Powered by FUDForum. Page generated in 0.01659 seconds