diff --git a/druid/src/widget/label.rs b/druid/src/widget/label.rs index b35f1bdc37..1e6ea4045a 100644 --- a/druid/src/widget/label.rs +++ b/druid/src/widget/label.rs @@ -506,7 +506,11 @@ impl Widget for RawLabel { } fn update(&mut self, ctx: &mut UpdateCtx, old_data: &ArcStr, data: &ArcStr, _env: &Env) { - if !old_data.same(data) | self.layout.needs_rebuild_after_update(ctx) { + if !old_data.same(data) { + self.layout.set_text(data.clone()); + ctx.request_layout(); + } + if self.layout.needs_rebuild_after_update(ctx) { ctx.request_layout(); } }