gpui-component
gpui-component copied to clipboard
Add Text Alignment Support to Input Field
Is it possible to add a function like fn with_align(self, align: Align) -> Self to the TextInput field for configuring the alignment of the text within the input box—for example, Align::Center, Align::Right—or alternatively, support helper methods such as text_center() and text_right()?
GPUI API not support us to do this in currently.
Is this the issue in GPUI https://github.com/zed-industries/zed/issues/8792