wgui: new_pass attrib, refactoring

This commit is contained in:
Aleksander
2025-11-27 20:32:59 +01:00
parent 9696d6730d
commit 192ffab4fd
8 changed files with 36 additions and 14 deletions

View File

@@ -43,8 +43,8 @@ pub fn parse_widget_label<'a>(
.layout
.add_child(parent_id, WidgetLabel::create(&mut globals.get(), params), style)?;
parse_widget_universal(ctx, widget.id, attribs);
parse_widget_universal(ctx, &widget, attribs);
parse_children(file, ctx, node, widget.id)?;
Ok(widget.id)
}
}