mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
Fixing cut-off text in tooltips
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user