(ctx: &mut ScriptContext<'_, API>)
| 4474 | name: &str, |
| 4475 | ) { |
| 4476 | if let Some(id) = find_named(ctx, name) { |
| 4477 | let _ = with_node_mut!(ctx.run, UiLabel, id, |node| { |
| 4478 | // Axis letter sits inside the left edge of its box, Godot-style. |
| 4479 | node.layout.anchor = UiAnchor::Left; |
| 4480 | node.layout.size = UiVector2::ratio(0.28, 1.0); |
| 4481 | node.layout.z_index = 10; |
| 4482 | node.transform.translation = Vector2::ZERO; |
no test coverage detected