toast: limit size and enable word wrap
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
<elements>
|
||||
<div interactable="0" >
|
||||
<rectangle padding="4" box_sizing="content_box" flex_wrap="wrap" flex_direction="row" gap="4" color="#000000c0" border_color="~color_accent" border="2" round="8" justify_content="space_between">
|
||||
<rectangle max_width="500" max_height="400" padding="4" box_sizing="content_box" flex_wrap="wrap" flex_direction="row" gap="4" color="#000000c0" border_color="~color_accent" border="2" round="8" justify_content="space_between">
|
||||
<div width="100%" padding="4">
|
||||
<label text="toast title" id="toast_title" weight="bold" />
|
||||
</div>
|
||||
<div width="100%" height="100%" padding="4" flex_wrap="wrap">
|
||||
<label text="toast body goes here" id="toast_body" />
|
||||
<label text="toast body goes here" id="toast_body" wrap="1" />
|
||||
</div>
|
||||
</rectangle>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user