fix: Add flex_direction and row_gap to popup

This commit is contained in:
demenik
2025-12-08 17:24:56 +01:00
parent 70768daf82
commit 23abbbfa02

View File

@@ -13,6 +13,8 @@ pub fn popup(
mut node: Node, mut node: Node,
child: impl Bundle, child: impl Bundle,
) -> impl Bundle { ) -> impl Bundle {
node.flex_direction = FlexDirection::Column;
node.row_gap = px(10);
node.padding = UiRect::all(px(20)); node.padding = UiRect::all(px(20));
( (