Okay so I have a GUI that is divided into a (3,1) GridLayout. I have the (3,1) cells declared as there own panels now how can I change the height of the last one?
Override default GridLayout CELL
Started by thieflock, Feb 12 2008 02:12 PM
2 replies to this topic
#1
Posted 12 February 2008 - 02:12 PM
|
|
|
#2
Posted 20 February 2008 - 01:13 PM
So, it sounds to me like you have a grid that has three columns and one row, like:
***
and you want to make the third column a little longer, like:
*
***
Just as a for-instance - however in the GridLayout this is not possible, as a matter of fact in the GridLayout, all cells are always exactly the same size. I believe that you should look into GridBagLayout or BoxLayout (e.g. Box.createHorizontalBox, Box.createVerticalBox). These layouts might have more what you're looking for.
Nathan
***
and you want to make the third column a little longer, like:
*
***
Just as a for-instance - however in the GridLayout this is not possible, as a matter of fact in the GridLayout, all cells are always exactly the same size. I believe that you should look into GridBagLayout or BoxLayout (e.g. Box.createHorizontalBox, Box.createVerticalBox). These layouts might have more what you're looking for.
Nathan
#3
Posted 20 February 2008 - 01:19 PM
~Aristotle said:
It is the mark of an educated mind to entertain a tought without accepting it


Sign In
Create Account


Back to top









