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

Custom EditorTool text now showing.

1 Answer 62 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jason Maronge
Top achievements
Rank 1
Jason Maronge asked on 13 Mar 2009, 07:01 PM
I have some Custom editor tools like below, that no longer show the text in the button in Q1 2009.  The text and shortcut do show in the tooltip though.  Any ideas on how to fix this?

           EditorTool editorTool;  
 
            editorTool = new EditorTool  
                             {  
                                 Name = "InsertCustomAND",  
                                 Text = "AND",  
                                 ShortCut = "CTRL+1"   
                             };  
            editorTool.Attributes["text-align"] = "center";  
            editorTool.Attributes["width"] = "20px";  
            txtFormula.Tools[0].Tools.Add(editorTool);  
 
Jason

1 Answer, 1 is accepted

Sort by
0
Accepted
Tervel
Telerik team
answered on 16 Mar 2009, 06:26 PM
Hello Jason,

There seems to be a problem with the ShowText implementation in the Q1 2009 release and we are currently researching it. It will soon be fixed to work as it used to, and In the meantime you can use the following temporary workaround:

1. Add the following CSS class to your page:
<style>
.reButton_text
{
    text-indent:0px !important;
}
</style>

2. Set the  editorTool.ShowText = true; explicitly (this should have been needed before Q1 as well).

I hope this helps,
Tervel
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Jason Maronge
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or