Maicha / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Window caption and alligment #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How I can place window caption in center?
How I can place button or other component in centre inside panel or window?

Original issue reported on code.google.com by eshur...@gmail.com on 9 Jun 2014 at 10:26

GoogleCodeExporter commented 9 years ago
You can't draw the window title anywhere but left-aligned. I'll add that as a 
suggestion for 3.0.

To place components centered inside a panel/window, you can use BorderLayout, 
which works similarly to the BorderLayout in AWT.

Original comment by mab...@gmail.com on 9 Jun 2014 at 12:57