bugfix
This commit is contained in:
parent
e323c4e2fb
commit
f21664668c
@ -923,10 +923,12 @@ bricks.UiText =class extends bricks.UiType {
|
|||||||
constructor(opts){
|
constructor(opts){
|
||||||
opts.dynsize = opts.dynsize || true;
|
opts.dynsize = opts.dynsize || true;
|
||||||
opts.cfontsize = opts.cfontsize || 1;
|
opts.cfontsize = opts.cfontsize || 1;
|
||||||
|
opts.height = '200px';
|
||||||
super(opts);
|
super(opts);
|
||||||
this.uitype='text';
|
this.uitype='text';
|
||||||
this.build();
|
this.build();
|
||||||
this.charsize_sizing();
|
this.charsize_sizing();
|
||||||
|
this.set_style('overflow', 'auto');
|
||||||
this.bind('keydown', this.key_handle.bind(this))
|
this.bind('keydown', this.key_handle.bind(this))
|
||||||
}
|
}
|
||||||
create(){
|
create(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user