ListPicker: Layout issue in spinner when text is longer
There is a layout issue in the popup, then the text is longer. With shorter text no issues.
1 comment
ADMIN
Didi
Posted on:27 Feb 2023 13:45
Hello Marc,
The dev team researched the case in details and actually the behavior is expected. Let me share more details why:
By design and controls implementation the items in the ListPicker have default HorizontalContentAlignment set to Center and that is why they look like this when you have a longer text. Actually the items are centered. This is default behavior for RadSpinner control which is used internally inthe ListPicker.
As a solution you can set a constant width to all items in the template.
I have changed this item to Declined, as actually this is not an issue in the control.
Regards,
Didi
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.