Files
wayvr/wgui/assets/wgui/window_frame.xml
Aleksander 200d5223d3 ConstructEssentials
i'm really out of ideas how to name another struct name with function parameters. Well, here we go - essentials.
2025-10-11 11:26:25 +02:00

25 lines
782 B
XML

<layout>
<elements>
<rectangle
flex_direction="column"
round="8"
border="2"
border_color="#778899"
color="#001122ee"
padding="2">
<!-- window title -->
<rectangle width="100%" height="100%" round="4" align_items="center" justify_content="space_between"
gradient="vertical" color="#224466" color2="#113355">
<label margin_left="8" text="Window title" weight="bold" />
<Button id="but_close" border="0" round="0">
<sprite src_internal="wgui/close.svg" width="24" height="24" />
</Button>
</rectangle>
<!-- content itself -->
<div id="content" width="100%" height="100%" padding="8" gap="4" flex_direction="column">
</div>
</rectangle>
</elements>
</layout>