InputElement.SingleLine property
Opt-in: render on a single visible line that never grows vertically. Long/pasted text overflows (scrolls) HORIZONTALLY within a fixed-height box instead of wrapping to more lines and growing the field — which, in an auto-height window, grows the whole window. Pasted newlines are stripped (the text stays one line). Unlike the default mode, Enter submits AND ends editing (the field drops focus; click it to type again) — the game’s chat still never opens. Default false keeps the existing behaviour (the field wraps and grows), so every current InputElement is byte-for-byte unchanged. Added as an init property (NOT a primary-ctor param) so the record constructor stays source AND binary compatible with already-compiled plugins — see PerPluginServices-Decoration.md §3 / WindowBuilder-Patterns.md “Binary compatibility rules”.
public bool SingleLine { get; set; }See Also
Section titled “See Also”- record InputElement
- namespace Stellar.Abstractions.Services