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

Setting Height Explicitly

3 Answers 56 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 10 Aug 2010, 04:33 PM
Hello,

I set the RadToolbar height to 30px, but this appears to set it for the inner DIV,not the outer wrapper div, and so the actual toolbar height is 34 px according to IE.  Is there a way to set the height on the outer element instead, whether there is a property, a CSS way?  I also have a wrapping <div> around the toolbar with an explicit height, but still a no go.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Aug 2010, 10:58 AM
Hello Brian,

This neatest way to accomplish this requirement is to customize your skin using visual style builder. Let us know if you need more help with this.

Greetings,
Peter
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
Brian Mains
Top achievements
Rank 1
answered on 18 Aug 2010, 05:23 PM
I switched to the RadMenu, which fit my needs better anyway...  seems like a bug though, that the Height doesn't constrain the overall height.. IMHO.
0
Tom
Top achievements
Rank 1
answered on 27 Jun 2013, 02:19 PM
Try this in the code behind:

rtbarId.Attributes.Add("Style", "height: 30px;");
where rtbarId is the ID of your ToolBar control.
Tags
ToolBar
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Peter
Telerik team
Brian Mains
Top achievements
Rank 1
Tom
Top achievements
Rank 1
Share this question
or