Skip to main content

How to make Table columns the same width size ?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
andrianiaina
Offline
Joined: 2011-05-18

Hi all,

Why do not the TableLayout.Constraint methods work ? I want to make two columns of a Table to have equal width size , that is 50% of the Table total width for each column , but when I run the application then the first column is not equally sized with the second column when its data are not long enough ! So how to make the columns equally sized ?
Thank you very much indeed

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

On the current SVN this works perfectly for me. I haven't tested 1.4 though so I can't tell.