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

Format BoxLayout  RSS feed

 
Tempora Telora
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,


i have 4 panels (two flowlayouts; two boxlayouts) that I have added to a mainPanel that is a boxlayout.

The problem is that the are center aligned. I would like them all alignd to the left.

How do I align left?


Thanks,
Randy
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
each of the 4 panels
[panel].setAlignmentX(0.0f);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!