From af3c938a033d263e5b91f8a9a2adc5c7b0001384 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 25 Apr 2024 13:41:50 +0200 Subject: [PATCH] uwu --- kubi/src/chat.rs | 2 +- kubi/src/ui/chat_ui.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kubi/src/chat.rs b/kubi/src/chat.rs index e67635b..b0e452f 100644 --- a/kubi/src/chat.rs +++ b/kubi/src/chat.rs @@ -49,6 +49,6 @@ pub fn init_chat_manager( storages: AllStoragesView, ) { let mut chat_manager = ChatManager::default(); - chat_manager.add_system_message("Welcome to Kubi!".to_string()); + chat_manager.add_system_message("Welcome to Kubi! Chat messages will appear here".to_string()); storages.add_unique(chat_manager); } diff --git a/kubi/src/ui/chat_ui.rs b/kubi/src/ui/chat_ui.rs index 2a0c199..9bc1b79 100644 --- a/kubi/src/ui/chat_ui.rs +++ b/kubi/src/ui/chat_ui.rs @@ -28,6 +28,7 @@ pub fn render_chat( }; Container::default() .with_background((0., 0., 0., 0.5)) + .with_padding((5., 2.)) .with_children(|ui| { Text::new(text) .add_child(ui)