From 245cf2b5a2f9c3429f7f11dc6e6811f09ba20f74 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Sun, 6 Oct 2024 09:05:54 +0200 Subject: [PATCH] button text --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 629e76f..f7048d7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -280,9 +280,10 @@ fn ui_setup(mut commands: Commands, asset_server: Res) { let button_text_node = TextBundle::from_section( format!("Button {}", i), TextStyle { - font: asset_server.load("fonts/FiraSans-Bold.ttf"), // Load font - font_size: 40.0, + //font: asset_server.load("fonts/FiraSans-Bold.ttf"), // Load font + font_size: 15.0, color: Color::srgb(0.9, 0.9, 0.9), + ..default() }, );