Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GridLayout Imperfection  RSS feed

 
henri henri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a GridLayout on the left side of my application containing three green buttons. When the application is instantiated, there is a small white gap at the bottom where the button is labelled "Mots Cl�s". When the JFrame is resized the bottom gap disappears. Is there any way to pack the buttons tighter togther to prevent the gap?

http://www.pollscanada.com/SE800i.html
 
Brian Cole
Author
Ranch Hand
Posts: 949
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There probably is, but it's kind of hard to recommend anything in particular without seeing your layout code.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!