View unanswered posts | View active topics It is currently Sun Mar 26, 2017 3:56 pm



Reply to topic  [ 1 post ] 
 Can't align the sides of 1 small and 1 large button 
Author Message

Joined: Mon Sep 03, 2012 7:43 pm
Posts: 1
Post Can't align the sides of 1 small and 1 large button
Hello Forum, sorry if I missed a thread where this was discussed already, but I couldn't think of any keywords for this problem...

The problem I'm having is summarised in this screenshot http://i.imgur.com/9qYQE.jpg
I planned the UI like this: First the two main buttons, each 3x2, then a 1x1 button on top of them, aligned to the right, and a 1x1 button below, aligned to the left.

The problem is that the aboutButton (the question marked one) jumps from column 4 to column 7.
Could somebody help me with this?
Thanks

PS: This may actually be a bug, I just tested X-values for the aboutButton from 6 to 0, and it often behaves strangely. For example, values 1 & 2 get the same result, as well as 3, 4 and 5.
I had the same problems with GridBagLayout, and that was actually the reason I looked for a different Layout Manager.


Mon Sep 03, 2012 8:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.