RadButton Text Alignment

2 posts, 0 answers
  1. Doug Hamilton
    Doug Hamilton avatar
    22 posts
    Member since:
    May 2006

    Posted 02 Apr 2008 Link to this post

    I have a button on my form where the text = "Assign Checked Customers"
    The button is set to a DisplayStyle of Text and the TextAlignment is set to MiddleCenter.  The text is absolutely not centered and the only way for me to get it centered is to set the leftmost number in the Padding property to 10.  This will do but it's highly irritating.  I've also noticed that as I decrease the size of that button, it appears to need a lot of padding space on the left and right side of the text or it chops off the right side of the button completely.  This makes it impossible to create a button barely any wider than the text it contains.

    I've also noticed alignment problems in with the RadLabel control.  For example, drop a RadGridView and a RadLabel directly under it on a form.  Leave the RadLabel's default text as is. E.g. "Label3" and align the left side with the left side of the RadGridView.  Leave the AutoSize property on the RadLabel set to True.  Now change the font weight to bold.  Notice that the text is cut off which to me means AutoSize isn't working properly.  Now set AutoSize to False.  The left alignment will be wrong when the font weight is bold and you will not be able to snap the left alignment to match the left border of the RadGridView.  For sake of comparison, drop a Microsoft label underneath the RadLabel and do the same things to it.  The Microsoft control operates as expected.

    Are the problems I state above known problems?  I'm new to the Telerik controls but I certainly did not expect such basic things to not work properly.
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 04 Apr 2008 Link to this post

    Hi Doug Hamilton,

    These are known issues and they are logged into our tracking system.

    Actually, the issue with the text alignment appears only on certain machines. We will investigate this case further to find what causes it. As to the RadButton chop and the RadLabel alignment, they will both be addressed in one of our next releases.

    Currently, we are focused on a major refactoring of RadGridView and on the development of new controls and adding new features to the existing ones. For additional information you can refer to our Roadmap for WinForms .

    If you have additional questions, do not hesitate to contact me.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top