From c8c4028bfb6491d9a70a36cfe966dbbf80d50b37 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 26 Feb 2024 01:27:25 +0100 Subject: [PATCH] a --- hui-examples/examples/modern_testbed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hui-examples/examples/modern_testbed.rs b/hui-examples/examples/modern_testbed.rs index 7dfe5cd..07e836f 100644 --- a/hui-examples/examples/modern_testbed.rs +++ b/hui-examples/examples/modern_testbed.rs @@ -1,5 +1,5 @@ use std::time::Instant; -use glam::{UVec2, vec4}; +use glam::{vec3, vec4, UVec2}; use glium::{backend::glutin::SimpleWindowBuilder, Surface}; use winit::{ event::{Event, WindowEvent}, @@ -44,6 +44,7 @@ fn main() { Container::default() .with_size((UiSize::Fraction(1.), UiSize::Fraction(1.))) .with_padding(Sides::all(5.)) + .with_background(vec3(1., 0., 0.)) .with_children(|ui: &mut ElementList| { Text::default() .with_text("Hello, world")