* Properly handle item spacing in VerticalMenuView

This commit is contained in:
Bryan Ashby 2015-05-04 15:39:48 -06:00
parent d5017203ac
commit 6dfda0e6d4
4 changed files with 18 additions and 7 deletions

View file

@ -178,9 +178,13 @@ function ViewController(options) {
}
setViewProp('items', function(v) { view.setItems(v); });
setViewProp('itemSpacing', function(v) { view.setItemSpacing(v); });
setViewProp('text', function(v) { view.setText(v); });
setViewProp('textStyle');
setViewProp('focusTextStyle');
setViewProp('textMaskChar', function(v) { view.textMaskChar = v.substr(0, 1); });
setViewProp('maxLength');
setViewProp('width', function(v) { view.dimens.width = parseInt(v, 10); });
@ -208,7 +212,7 @@ function ViewController(options) {
}
});
setViewProp('textMaskChar', function(v) { view.textMaskChar = v.substr(0, 1); });
setViewProp('hotKeys', function(v) { view.setHotKeys(v); });
setViewProp('submit', function(v) {