Skip to main content


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 18:15 Go to next message
Nessi is currently offline NessiFriend
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 1201 times)

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

Report message to a moderator

Re: Swing - problem with GridBagLayout [message #765292 is a reply to message #764235] Tue, 13 December 2011 19:38 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
This has been fixed in trunk.
Re: Swing - problem with GridBagLayout [message #766447 is a reply to message #765292] Thu, 15 December 2011 20:06 Go to previous messageGo to next message
Nessi is currently offline NessiFriend
Messages: 3
Registered: December 2011
Location: Russia
Junior Member
Eric,
What do you mean by saying 'in trunk'? Is it a slang?
Re: Swing - problem with GridBagLayout [message #766487 is a reply to message #766447] Thu, 15 December 2011 21:51 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
No. I would say that it is very common terminology. It means that the issue has been fixed in the trunk directory of the WB SVN repository.
Re: Swing - problem with GridBagLayout [message #766908 is a reply to message #766487] Fri, 16 December 2011 16:22 Go to previous messageGo to next message
Nessi is currently offline NessiFriend
Messages: 3
Registered: December 2011
Location: Russia
Junior Member
Eric,
I have installed WindowBuilder by traditional way, using 'Help -> Install New Software' dialog. And I have never used SVN.
That's why I didn't understand you.

So, now I have the question which has been asked in .../forums/index.php/m/756106/ yet. Could you get me a link to instruction of building?
Thank you in advance.
Re: Swing - problem with GridBagLayout [message #767130 is a reply to message #766908] Sat, 17 December 2011 04:58 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
We don't have any building instructions.

You should just use the latest integration build.
Previous Topic:There are no css files referenced from module or HTML
Next Topic:XWT Editor: get name attribute
Goto Forum:
  


Current Time: Fri Apr 19 16:20:47 GMT 2024

Powered by FUDForum. Page generated in 0.02264 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top