mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* Work on forms
* More work on VerticalMenuView: setItems(), etc.
This commit is contained in:
parent
4f3a8ac500
commit
4234e03008
8 changed files with 106 additions and 19 deletions
|
@ -20,6 +20,8 @@ function TextView(client, options) {
|
|||
this.multiLine = this.options.multiLine || false;
|
||||
this.fillChar = miscUtil.valueWithDefault(this.options.fillChar, ' ').substr(0, 1);
|
||||
|
||||
this.justify = this.options.justify || 'none';
|
||||
|
||||
assert(!this.multiLine); // :TODO: not yet supported
|
||||
|
||||
if(!this.multiLine) {
|
||||
|
@ -29,7 +31,7 @@ function TextView(client, options) {
|
|||
this.setText(this.options.text || '');
|
||||
|
||||
if(this.isPasswordTextStyle) {
|
||||
this.textMaskChar = miscUtil.valueWithDefault(this.options.textMaskChar, '*').substr(0, 1);
|
||||
this.textMaskChar = miscUtil.valueWithDefault(this.textMaskChar, '*').substr(0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue