diff --git a/hui/src/element/builtin/container.rs b/hui/src/element/builtin/container.rs index 3674679..2afd944 100644 --- a/hui/src/element/builtin/container.rs +++ b/hui/src/element/builtin/container.rs @@ -326,7 +326,7 @@ impl UiElement for Container { position, size: ctx.measure.size, color: corner_colors, - texture: None, + texture: self.background_image, rounded_corners: (self.corner_radius.max_f32() > 0.).then_some({ RoundedCorners::from_radius(self.corner_radius) }),