This commit is contained in:
yumoqing 2024-08-09 16:48:59 +08:00
parent 72f79a17e3
commit ed8bf43c7f

View File

@ -10,7 +10,7 @@ bricks.VadText = class extends bricks.VBox {
icon:bricks_resource('imgs/speak.png') icon:bricks_resource('imgs/speak.png')
}); });
this.audio = new bricks.AudioPlayer({}); this.audio = new bricks.AudioPlayer({});
hbox = new bricks.HBox({height:'auto'}); var hbox = new bricks.HBox({height:'auto'});
hbox.add_widget(this.button); hbox.add_widget(this.button);
hbox.add_widget(this.audio) hbox.add_widget(this.audio)
this.add_widget(hbox); this.add_widget(hbox);