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

Multiline toolbar

2 Answers 169 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas Radioyes
Top achievements
Rank 1
Thomas Radioyes asked on 28 Jun 2011, 03:17 PM
Hi,

I have a Telerik Editor in a popup, and I have a width issue, so i would like to be able to put the toolbar on 2 lines instead of having all the buttons on one line. Is it possible?

Thomas

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Jun 2011, 06:38 AM
Hello Thomas,

First of all, you can use a reduced set of tools, like in this demo:

http://demos.telerik.com/aspnet-mvc/editor/servervalidation

If you require to have all tools, then you can define them manually as in the above example and then add this CSS rule to your page:

.t-editor-toolbar .t-separator
{
    display:block;
    width:1px;
    height:1px;
    line-height:1px;
}

This will make every inline separator act as line breaker. Unfortunately, this will not work well in IE7, so you need one more thing - to apply a float:left and clear:left style to each tool, which starts on a new line. In the above case this is the "create link" tool:

.t-createLink
{
    float:left;
    clear:left;
}


All the best,
Dimo
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
Thomas Radioyes
Top achievements
Rank 1
answered on 30 Jun 2011, 04:57 PM
Great, thanks!
Tags
Editor
Asked by
Thomas Radioyes
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Thomas Radioyes
Top achievements
Rank 1
Share this question
or