pashapm / lanterna

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

ActionListBox could use a scroll bar #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to have scrollbar for the ActionListBox if it cannot 
accomodate all the elements in the screen. Currently the window just goes blank 
and the listbox seems to just fill up the entire space over the other 
components(I was filling up the listbox in an action event from one of the 
components on the screen).

Original issue reported on code.google.com by m.vino...@gmail.com on 21 Jun 2012 at 1:49

GoogleCodeExporter commented 9 years ago
Yes, that would make perfect sense. I was planning to refactor/redesign the GUI 
components shortly, I'll add this to the list.

Original comment by mab...@gmail.com on 22 Jun 2012 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by mab...@gmail.com on 22 Jun 2012 at 4:00

GoogleCodeExporter commented 9 years ago
This has been fixed now in 2.0 snapshot, please give it a try. If you don't set 
any preferred size on the ActionListBox, it will use available space and add a 
scrollbar if the space isn't sufficient. If you set a preferred size, it will 
display a scrollbar if the list contains more items than the size allows.

Original comment by mab...@gmail.com on 7 Jul 2012 at 9:02