bugfix
This commit is contained in:
parent
21d8c8fd9d
commit
aa81a38241
@ -7,10 +7,12 @@ bricks.BaseRunning = class extends bricks.HBox {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
constructor(opts){
|
constructor(opts){
|
||||||
if (! opts.cwidth) opts.cwidth = 2;
|
if (! opts.cwidth) opts.width = 'auto';
|
||||||
if (! opts.cheight) opts.cheight = 2;
|
if (! opts.cheight) opts.cheight = 2;
|
||||||
super(opts);
|
super(opts);
|
||||||
this.icon_w = new bricks.Icon({
|
this.icon_w = new bricks.Icon({
|
||||||
|
height: '100%',
|
||||||
|
width: 'auto',
|
||||||
url:opts.icon || bricks_resource('imgs/running.gif')
|
url:opts.icon || bricks_resource('imgs/running.gif')
|
||||||
});
|
});
|
||||||
this.time_w = new bricks.Text({
|
this.time_w = new bricks.Text({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user