Fixing cut-off text in tooltips

This commit is contained in:
b-guild
2025-04-17 10:28:37 -07:00
parent f56f704a40
commit e1d29398d7
+1 -1
View File
@@ -152,7 +152,7 @@ pub fn make_simple_tooltip(ctx: &mut BuildContext, text: &str) -> RcUiNodeHandle
.with_hit_test_visibility(false)
.with_foreground(ctx.style.property(Style::BRUSH_DARKEST))
.with_background(Brush::Solid(Color::opaque(230, 230, 230)).into())
.with_max_size(Vector2::new(300.0, f32::INFINITY))
.with_width(300.0)
.with_child(
TextBuilder::new(
WidgetBuilder::new()