Hi, I have a UI Text node in my Startup schedule that looks nice and clear, and even with a text update of one of the Startup fields in the Update stage, but when I spawn text nodes in the Update stage, they look terrible, pixelated, fuzzy, almost unreadable. I don' t understand why this is.
Here is my setup fn running on Startup, which looks nice and crisp:
// UI camera
commands.spawn(Camera2dBundle::default());
// Main Title
commands.spawn((
// Create a TextBundle that has a Text with a single section.
TextBundle::from_section(
// Accepts a `String` or any type that converts into a `String`, such as `&str`
"ECS DataLayer",
TextStyle {
// This font is loaded and will be used instead of the default font.
font_size: 14.0,
..default()
},
) // Set the justification of the Text
.with_text_justify(JustifyText::Center)
// Set the style of the TextBundle itself.
.with_style(Style {
position_type: PositionType::Absolute,
top: Val::Px(5.0),
left: Val::Px(5.0),
..default()
}),
ColorText,
));```