Empyreus / lanterna

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

Could not get components to be aligned inside a panel #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to right align a button inside a panel. I have tried specifying 
the alignment for both the button as well as the panel(using RIGHT_CENTER), but 
the button still appears to be left aligned inside the panel. Am I doing 
something wrong here?

Original issue reported on code.google.com by m.vino...@gmail.com on 19 Oct 2012 at 4:50

GoogleCodeExporter commented 9 years ago
This should be possible, I cooked up a quick example here:
http://code.google.com/p/lanterna/source/browse/src/test/java/com/googlecode/lan
terna/test/issue/Issue46.java

Really, I need to spend some time to properly documenting and illustrating the 
layout system...

Original comment by mab...@gmail.com on 28 Oct 2012 at 1:26