This commit is contained in:
yumoqing 2024-03-19 16:39:22 +08:00
parent 1d9228342b
commit 3cc540d3b7

View File

@ -27,7 +27,7 @@ bricks.IconBar = class extends bricks.HBox {
w.set_style('margin-left', this.opts.margin || '10px');
w.set_style('margin-right', this.opts.margin || '10px');
if (tools[i].name){
w.widget_id = tools[i].name;
w.set_id(tools[i].name);
}
w.set_style('cursor', 'pointer');
this.add_widget(w);