button text
This commit is contained in:
parent
39f45debda
commit
245cf2b5a2
|
@ -280,9 +280,10 @@ fn ui_setup(mut commands: Commands, asset_server: Res<AssetServer>) {
|
||||||
let button_text_node = TextBundle::from_section(
|
let button_text_node = TextBundle::from_section(
|
||||||
format!("Button {}", i),
|
format!("Button {}", i),
|
||||||
TextStyle {
|
TextStyle {
|
||||||
font: asset_server.load("fonts/FiraSans-Bold.ttf"), // Load font
|
//font: asset_server.load("fonts/FiraSans-Bold.ttf"), // Load font
|
||||||
font_size: 40.0,
|
font_size: 15.0,
|
||||||
color: Color::srgb(0.9, 0.9, 0.9),
|
color: Color::srgb(0.9, 0.9, 0.9),
|
||||||
|
..default()
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue