This is a migrated thread and some comments may be shown as answers.

Textalignment

1 Answer 94 Views
SegmentedControl
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 17 Jan 2018, 08:11 AM

Hi, 

is it possible to control the text alignment of the text inside a RadSegmentedControl-Item? Furthermore it would be nice to control the Linebreakmode or FontSize. 

 

Thanks in advance

Chris

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 17 Jan 2018, 12:09 PM
Hello, Chris,

The SegmentedControl's API is designed to be pretty tight and no such modifications are available. I have logged a feature request on your behalf so we can consider exposing additional properties or mechanisms so that the users have better control over the appearance of the component. You can track its progress on the following link from our Ideas & Feedback portal - SegmentedControl: Expose additional properties or mechanism to control the appearance of the items. Please follow the item in order to subscribe for automatic notifications. I have added some points to your account for bringing up the behavior as well.

In the meantime, I can suggest you using the RadTabView instead of the RadSegmentedControl. Though the TabView control is designed to host some content in its tabs, you can use it without any content. Eventually, its API is much more flexible and you can use custom templates for the headers. I have attached a sample for your reference. Will such approach work for you?

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
SegmentedControl
Asked by
Chris
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or