finally text wrapping works™️ dear god

This commit is contained in:
2025-11-20 00:20:49 -05:00
parent d8e8b1701d
commit 416d67103d
2 changed files with 5 additions and 7 deletions

2
iris

Submodule iris updated: db248de8f4...96ef0c529b

View File

@@ -116,13 +116,11 @@ pub fn msg_widget(msg: Msg) -> impl WidgetLike<FnTag> {
(
image(include_bytes!("./assets/sungals.png"))
.sized((70, 70))
.align(Align::TopLeft),
(
header.width(rest(1)).align(Align::Top),
content.width(rest(1)).align(Align::Top),
)
.align(Align::Top),
(header.width(rest(1)), content.width(rest(1)))
.span(Dir::DOWN)
.gap(10),
.gap(10)
.align(Align::Top),
)
.span(Dir::RIGHT)
.gap(10)