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

Custom Button Text

2 Answers 14 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Delphi
Top achievements
Rank 1
Delphi asked on 16 Jul 2010, 05:54 PM
Howdy,

I have a custom button on my MOSSRadEditor which works great however I now need to change the button appearance. Ideally I'd like the button to say "Select" but I can't find how to specify text. All examples show using an image. So I went ahead and used and image and the button won't stretch with the image! I see "Se" in the button, can I stretch it out to fit the entire image? I've tried

<

 

style type="text/css">

 

.reTool

 

.SelectSome

 

{

 

background-image: url(select.gif);

 

 

width:200px

 

}

</

 

style>

Thanks,

 

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 20 Jul 2010, 12:57 PM
Hello David Lozzi,

Make sure that the tool element in the respective ToolsFile.xml looks like this:
<tool name="SelectSome" Text="Select" ShowText="true" ShowIcon="false"/>


Regards,
Stanimir
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Delphi
Top achievements
Rank 1
answered on 20 Jul 2010, 02:02 PM
Perfect, thanks!
Tags
Editor
Asked by
Delphi
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Delphi
Top achievements
Rank 1
Share this question
or