Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Wrong positioning of the components(Eclipse Indigo + Ubuntu 12.04)
Wrong positioning of the components [message #897152] Sun, 22 July 2012 16:23 Go to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
Hi all, I apologize in advance for my english because I'm Italian.
I've a problem with positioning the components on my frame; this problem only occurs when i use ubuntu, everything works fine on windows.
I post a screenshot so you can understand what I mean.

index.php/fa/10803/0/
Re: Wrong positioning of the components [message #897337 is a reply to message #897152] Mon, 23 July 2012 16:02 Go to previous messageGo to next message
user Kyle is currently offline user KyleFriend
Messages: 19
Registered: April 2012
Junior Member
Hi,

Can we see source part please?
Re: Wrong positioning of the components [message #897360 is a reply to message #897337] Mon, 23 July 2012 18:32 Go to previous messageGo to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
The code is the one automatically generated by WindowBuilder by default, I just added a JButton component on the frame and as you see the button appears below his "black borders"; if I want to move the button I can only move the borders and then it appears below so I can't place it directly where i need to.
Sorry if my explanation is not good enough and thank you for your reply.
Re: Wrong positioning of the components [message #897425 is a reply to message #897360] Tue, 24 July 2012 05:15 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Please provide more details of your environment. Eclipse version. WindowBuilder version. Ubuntu version. Window manager used. Etc.

Have you tried a different window manager?
Re: Wrong positioning of the components [message #897631 is a reply to message #897425] Tue, 24 July 2012 20:10 Go to previous messageGo to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
I use Ubuntu 12.04 with eclipse Indigo 3.7.2 and I downloaded the release version of WindowBuilder from here http://www.eclipse.org/windowbuilder/download.php .
I cannot tell you the Window manager used because I don't know what that is, can you explain me please?
Re: Wrong positioning of the components [message #898124 is a reply to message #897631] Wed, 25 July 2012 20:36 Go to previous messageGo to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
Francesco Palmiotto wrote on Tue, 24 July 2012 16:10
I use Ubuntu 12.04 with eclipse Indigo 3.7.2 and I downloaded the release version of WindowBuilder from here http://www.eclipse.org/windowbuilder/download.php .
I cannot tell you the Window manager used because I don't know what that is, can you explain me please?

Sorry for double post, I use Compiz as Window Manager.
I tried to disable the visual effects, but the problem does not disappear completely, any ideas?
Re: Wrong positioning of the components [message #901551 is a reply to message #898124] Mon, 13 August 2012 10:53 Go to previous messageGo to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
This is the last time I try to ask for help, can anyone help me?
Re: Wrong positioning of the components [message #901565 is a reply to message #901551] Mon, 13 August 2012 12:54 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Have you tried a different window manager?
Re: Wrong positioning of the components [message #901637 is a reply to message #901565] Mon, 13 August 2012 18:07 Go to previous messageGo to next message
Francesco Palmiotto is currently offline Francesco PalmiottoFriend
Messages: 6
Registered: July 2012
Junior Member
Eric Clayberg wrote on Mon, 13 August 2012 08:54
Have you tried a different window manager?


For example what can I try?
Re: Wrong positioning of the components [message #901643 is a reply to message #901637] Mon, 13 August 2012 19:13 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Metacity? Kwin? Anything other than Compiz?

WindowBuilder gets two pieces of info from the window manager when rendering widgets...the actual widget images and their bounds (as reported by the window manager). Based on the screen shot, it appears that the bounds are being reported incorrectly (by the amount of the window decorations, I presume).

Welcome to Linux!
Previous Topic:open a second window inside shell and example source
Next Topic:How add restriction to add a new component
Goto Forum:
  


Current Time: Thu Nov 27 04:56:24 GMT 2014

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

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