The picker is displaying the text inside a narrow/vertical cell as showed on this image.

Is it possible to change the display for this picker to a horizontal/wider layout to prevent cropping of the text?
I'm not sure how to add dynamic menu items
const symbols = [
:symbol0,
:symbol1,
:symbol2,
:symbol3,
:symbol4,
:symbol5,
:symbol6,
:symbol7,
:symbol8,
:symbol9,
:symbol10,
:symbol11,
:symbol12,
:symbol13,
:symbol14,
:symbol15
];
class MyMenuDelegate extends Ui.MenuInputDelegate
{
hidden var mTeams;
function initialize(teams) {
MenuInputDelegate.initialize();
mTeams = teams;
}
function onMenuItem(item) {
// figure out which item was selected
for (var i = 0; i < symbols.size(); ++i) {
if (symbols== item) {
Sys.println(mTeams);
break;
}
}
}
}
class MyMenu extends Ui.Menu
{
function initialize(teams) {
Menu.initialize();
self.setTitle("Pick a team");
for (var i = 0; i < teams.size(); ++i) {
self.addItem(teams, symbols);
}
}
}
class MyInputDelegate extends Ui.BehaviorDelegate
{
function initialize() {
BehaviorDelegate.initialize();
}
function onMenu() {
var teams = [ "Patriots", "Seahawks", "Steelers" ];
var menu = new MyMenu(teams);
var delegate = new MyMenuDelegate(teams);
Ui.pushView(menu, delegate, Ui.SLIDE_IMMEDIATE);
return true;
}
}
[/code]
The issue is that you are limited to MAX_SIZE (16) items in any given menu. If you have more, then you need to figure out some way to divide the items up and then select the sub-items.
Travis