From bd2253aec035d0ea0c16484b03906ab88690525f Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 7 May 2015 16:43:00 -0600 Subject: [PATCH] * justify can be specified via menu.json --- core/view_controller.js | 1 + mods/menu.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/view_controller.js b/core/view_controller.js index 61fa03af..6825fe02 100644 --- a/core/view_controller.js +++ b/core/view_controller.js @@ -187,6 +187,7 @@ function ViewController(options) { setViewProp('textStyle'); setViewProp('focusTextStyle'); setViewProp('textMaskChar', function(v) { view.textMaskChar = v.substr(0, 1); }); + setViewProp('justify'); setViewProp('maxLength'); diff --git a/mods/menu.json b/mods/menu.json index d76fb2fc..8620ce43 100644 --- a/mods/menu.json +++ b/mods/menu.json @@ -235,7 +235,7 @@ ], "height" : 10, "itemSpacing" : 1, - // :TODO: justify not working?? + "justify" : "center", "focusTextStyle" : "small i" } },