gpui-component icon indicating copy to clipboard operation
gpui-component copied to clipboard

Add Text Alignment Support to Input Field

Open crazyjay97 opened this issue 3 months ago • 2 comments

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()?

crazyjay97 avatar Nov 14 '25 07:11 crazyjay97

GPUI API not support us to do this in currently.

huacnlee avatar Nov 17 '25 05:11 huacnlee

Is this the issue in GPUI https://github.com/zed-industries/zed/issues/8792

Ciantic avatar Nov 18 '25 10:11 Ciantic