Custom Editor Tool Without Image

3 posts, 1 answers
  1. CRAIG
    CRAIG avatar
    4 posts
    Member since:
    Jan 2011

    Posted 02 Mar Link to this post



    I am trying to figure something out and not having any luck.


    I am trying to add a Custom Editor Tool to my RadEditor. I have gotten most of what I want to work (on the Ribbon, on multiple tabs, in its own section) but I cannot get the Text to show up. Instead, I just get the default off-cent quote-i image.  I do not want an image to display; instead, I'd like the button's text to display.  


    On the EditorTool ...

    I've set:  ShowText = true;

    And:     ShowIcon = false;

    I've provided a Text property value. I've cleared out the ImageUrl and ImageUrlLarge values (String.Empty and null). But I can't figure out how to make the button show its Text and not its Image.

    Can't figure out what I'm doing wrong.  Should I be using a different control (EditorTool)? Can I do it via the XML file?

  2. Answer
    Ianko avatar
    1507 posts

    Posted 07 Mar Link to this post

    Hello Craig,

    When using RibbonBar toolbar, small tools are rendered only with icon. IN order to show the text you should change the size of the button to medium. You can do that by using the xml toolsfile approach and add an attribute size set to medium

    You can see example of this attribute in this demo—

    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
  3. DevCraft R3 2016 release webinar banner
  4. CRAIG
    CRAIG avatar
    4 posts
    Member since:
    Jan 2011

    Posted 07 Mar in reply to Ianko Link to this post

    That's it, thanks!
Back to Top