From bc3b5925977c1ff13161baf4153c3301e52b35e1 Mon Sep 17 00:00:00 2001 From: sam edelsten <samedelsten1@gmail.com> Date: Tue, 12 Sep 2023 12:05:37 +0100 Subject: [PATCH] add border to restricted_input example --- examples/restricted_input.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/restricted_input.rs b/examples/restricted_input.rs index 0b6a557..c43c678 100644 --- a/examples/restricted_input.rs +++ b/examples/restricted_input.rs @@ -14,8 +14,10 @@ fn setup(mut commands: Commands, mut font_system: ResMut<CosmicFontSystem>) { let editor = commands .spawn( CosmicEditUiBundle { + border_color: Color::LIME_GREEN.into(), style: Style { // Size and position of text box + border: UiRect::all(Val::Px(4.)), width: Val::Percent(20.), height: Val::Px(50.), left: Val::Percent(40.), -- GitLab