RadAutoComplete - vertical text alignment

1 Answer 49 Views
AutoComplete
Rob
Top achievements
Rank 1
Rob asked on 21 May 2024, 04:20 PM
Using RadAutocomplete, is there a way to set the vertical (or horizontal) text alignment. I've set the MinHeight for the control to match my other controls, but the autocomplete PlaceHolder and Text are aligned with the stop of the control, and I want it to be centered. (see image)

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 24 May 2024, 08:44 AM

Hi Rob,

The control used in the AutoComplete input is the RadEntry. The behavior is expected, as the native element has min height and padding. So when you increase/decrease the height of the control you have to also increase/decrease the font size. However, I have logged a public item on your behalf to provide an option to reduce the entry padding: https://feedback.telerik.com/maui/1653084-autocomplete-provide-an-option-to-reduce-the-space-above-and-below-the-text 

Regards,
Didi
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
AutoComplete
Asked by
Rob
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or