ui ListBox Horizontal
ui listbox horz
The listbox horizontal control is a useful list of items that are displayed to the user from left to right with scrolling and hilite ability. It is exactly like a listbox (vertical) but it is horizontal.See ui_listbox_ext, as almost all the properties apply to the horizontal version. The major difference is that listbox_horz supports an array of sprites as well as strings items. Like the normal listbox, you assign the strings to items[x], but you would also set the matching sprites[x] index..
items=’The first Item’;
items=’The second item’;
items=’The last item’;
Another feature of the horizontal listbox is the ability to snap to center item. See demo project for example.
uiSnapLeft=true; will snap the left item to the left of the widget (no left side clipping)….
uiLeftMargin=75; when snapping this is snap margin line
uiAutoSelect=true; will auto hilite the center item when using uiSnapLeft;