fix: Add flex_direction and row_gap to popup
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user