Skip to content

Commit

Permalink
Update makepad version to support live applying a Size value like `…
Browse files Browse the repository at this point in the history
…height: Fit`
  • Loading branch information
kevinaboos committed Jan 29, 2024
1 parent 9734ead commit 67c3a1d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/home/rooms_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ live_design! {
show_bg: true,

label = <Label> {
width: Fill,
align: { x: 0.5, y: 0.5 }
draw_text: {
wrap: Word,
Expand Down Expand Up @@ -314,7 +315,7 @@ impl Widget for RoomsList {
});
} else {
item.as_view().apply_over(cx, live!{
height: 500.0,
height: Fit,
label = { text: (&self.status) }
});
}
Expand Down

0 comments on commit 67c3a1d

Please sign in to comment.