finally text wrapping works™️ dear god
This commit is contained in:
2
iris
2
iris
Submodule iris updated: db248de8f4...96ef0c529b
@@ -116,13 +116,11 @@ pub fn msg_widget(msg: Msg) -> impl WidgetLike<FnTag> {
|
|||||||
(
|
(
|
||||||
image(include_bytes!("./assets/sungals.png"))
|
image(include_bytes!("./assets/sungals.png"))
|
||||||
.sized((70, 70))
|
.sized((70, 70))
|
||||||
.align(Align::TopLeft),
|
.align(Align::Top),
|
||||||
(
|
(header.width(rest(1)), content.width(rest(1)))
|
||||||
header.width(rest(1)).align(Align::Top),
|
|
||||||
content.width(rest(1)).align(Align::Top),
|
|
||||||
)
|
|
||||||
.span(Dir::DOWN)
|
.span(Dir::DOWN)
|
||||||
.gap(10),
|
.gap(10)
|
||||||
|
.align(Align::Top),
|
||||||
)
|
)
|
||||||
.span(Dir::RIGHT)
|
.span(Dir::RIGHT)
|
||||||
.gap(10)
|
.gap(10)
|
||||||
|
|||||||
Reference in New Issue
Block a user