Textalignment

2 posts, 0 answers
  1. Chris
    Chris avatar
    7 posts
    Member since:
    Jan 2012

    Posted 17 Jan 2018 Link to this post

    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

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 17 Jan 2018 Link to this post

    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
Back to Top