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

[Solved] Setting Toolbar width in ToolbarMode="ShowOnFocus"

3 Answers 162 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andreas Kaech
Top achievements
Rank 1
Andreas Kaech asked on 22 Nov 2007, 05:30 PM
Hi,
in ToolbarMode="ShowOnFocus", the width of the toolbar is by default too small (I want only few buttons in one line), but resizable at runtime.
Is there a "workaround" to set the default-width before rendering?
Thanks for your answer.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 Nov 2007, 12:41 PM
Hi Andreas,

Currently the editor's toolbar size is equal to the editor's width and cannot be changed easily programmatically.

We are not exactly sure whether you want to have a small editor and long toolbar or vice versa.

Please, open a support ticket and send us a couple of screenshots and we will try to provide a solution.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
madhu
Top achievements
Rank 1
answered on 03 Dec 2007, 02:59 AM
hello,

i had a similar question.is it possible to increase the height of each of the toolbar strips??inorder to view bigger icons

thanks
mansi
0
Tervel
Telerik team
answered on 04 Dec 2007, 05:14 PM
Hi madhu,

To display "bigger icons" you will need to implement a custom editor skin.

The RadEditor Prometheus features a new mechanism for rendering and all its icons are contained in a single CommandSprites.gif file.

Thus, to display larger icons, you need to first enlarge those, or provide larger icons of your own.
Second, you need to modify the CSS classes for the commands.
Each command's css classname is the same as the command itself, e.g. .Cut, .Copy, .Paste.

Extra information on creating a custom skin for Prometheus controls can be found here - http://www.telerik.com/help/radcontrols/prometheus/createcustomskin.html

In case you implement the tools css properly and successfully display larger icons, the toolbars width will be adjusted automatically by the editor, without the need to set any specific property.

Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Andreas Kaech
Top achievements
Rank 1
Answers by
Rumen
Telerik team
madhu
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or