• Post Reply Bookmark Topic Watch Topic
  • New Topic

Layout again  RSS feed

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i use :

i get such result:
----------------------------
label1 "text1"
label2 "text2"
----------------------------
but what should i change to get this:
----------------------------
label1 "text1"
label2 "text2"
----------------------------
Is it possible at all?
thank you.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the difference between the 2 is?
 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ooops, all my spaces between label and text in the first one were deleted :roll:
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the GridBagConstraints anchor. EAST and WEST.
 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!