SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

`text_input` example clean up (#24297)

# Objective

Clean up the `text_input` example a bit.

## Solution

- Removed some unneeded style constraints.
- Disable newlines, disable wrapping, and set a responsive width for the
inputs.
- Submit on Enter, not Ctrl + Enter.
- Center the example using an auto margin.

---------

Co-authored-by: Kevin Chen <chen.kevin.f@gmail.com>
I
ickshonpe committed
7500b6c5aa1544cb3aee4b793c6907eeb970cdd5
Parent: 7af4723
Committed by GitHub <noreply@github.com> on 5/21/2026, 10:16:23 AM