RADLABEL PROBLEM

4 posts, 0 answers
  1. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 03 Aug 2007 Link to this post

    Hi, I figured out if you input the text with uppercase, the word will be cut. Please verify.

    Thanks
  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 03 Aug 2007 Link to this post

    Hello eriksurya,

    We could not reproduce the issue you reported. Please, check that you are using the Custom Build (dlls version 3.5.1.0).
     
    If this is the version you are using please make sure that this is not result of word wrapping (the visible text ends with three dots).

    If you still have troubles, send us a sample project that demonstrates the problem.

    Regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 21 Aug 2007 Link to this post

    how to disable this word wrapping?
  5. Angel
    Admin
    Angel avatar
    121 posts

    Posted 21 Aug 2007 Link to this post

    WordWrap is a feature of TextPrimitive. You have to write a few lines of code to modify that option:

    RadLabelElement labelElement = (RadLabelElement)this.radLabel1.RootElement.Children[0];
    TextPrimitive textPrimitive = (TextPrimitive)labelElement.Children[2];
    textPrimitive.PaintTextFormat.FormatFlags |= StringFormatFlags.NoWrap;


    Hope this was helpful.
     

    Kind regards,
    Angel
    the Telerik team

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