From 59d934128067af741dfd403b71794e35166179ec Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Mon, 9 Dec 2024 16:00:19 +0800 Subject: [PATCH] image_story: Fix the `pie_chart` size --- crates/story/src/image_story.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/story/src/image_story.rs b/crates/story/src/image_story.rs index 3f4aef93..0d169e7c 100644 --- a/crates/story/src/image_story.rs +++ b/crates/story/src/image_story.rs @@ -60,6 +60,6 @@ impl Render for ImageStory { .child(self.google_logo.clone().w(px(300.)).h(px(300.))), ) .child(self.inbox_img.clone().w(px(24.)).h(px(24.))) - .child(self.pie_chart.clone().size_full()) + .child(self.pie_chart.clone().w_full().h(px(400.))) } }