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

Sub Menu text align

1 Answer 9 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant asked on 30 Jul 2014, 01:05 PM
Hi

My submenu does not replicate the same style as my menu.

The submenu items seem to be smaller than the menu items.

Any help would be appreciated with this. 

Grant

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 31 Jul 2014, 05:39 AM
Hi Grant

The easiest way to adjust the width of the RadMenu child items is to use the GroupSettings property:

Check the following code for more information

ASPX
<telerik:RadMenu ID="RadMenu1" Skin="Black" runat="server">
    <Items>
        <telerik:RadMenuItem Text="Veeeery looong item text">
            <GroupSettings Width="155px" />
            <Items>
                <telerik:RadMenuItem runat="server" Text="Item 1">
                <Items>
                 
                <telerik:RadMenuItem runat="server" Text="Item 1000">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Item 1001">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Item 1002">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Item 1003">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Item 1004">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Item 1005">
                </telerik:RadMenuItem>
                </Items>
                </telerik:RadMenuItem>
                 
                <telerik:RadMenuItem runat="server" Text="Item 2" />
                <telerik:RadMenuItem runat="server" Text="Item 3" />
            </Items>
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

Thanks
Shinu
Tags
Menu
Asked by
Grant
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or