From 32349fbb488700ed64c5558d2997904a1f7b6238 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 7 Mar 2024 02:44:04 +0100 Subject: [PATCH] add wrap to vs demo --- hui-examples/examples/vscode_layout.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hui-examples/examples/vscode_layout.rs b/hui-examples/examples/vscode_layout.rs index 98decd4..3b51e07 100644 --- a/hui-examples/examples/vscode_layout.rs +++ b/hui-examples/examples/vscode_layout.rs @@ -42,6 +42,7 @@ ui_main!( .with_padding((5., 8.)) .with_gap(15.) .with_background(color::rgb_hex(0x3d3c3e)) + .with_wrap(true) //XXX: not authentic but great for demostration .with_children(|ui| { Image::new(stuff.vscode_icon) .with_size(size!(auto, 24))