Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help in GroupLayout

 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
i have arranged two panels using grouplayout but they use 50% each of space. How can i set the size of panels in grouplayout.



Thanks and Regards
alexander
 
Maneesh Godbole
Saloon Keeper
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GroupLayouts are usually used by IDEs and as such are not supposed to be used for handcoding. I would recommend using something simpler.
A GridLayout(1,2) would give you a layout for two panels occupying identical space in two columns.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic