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

width of menu item

1 Answer 98 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 05 Nov 2008, 04:34 PM
i am using a datatable to create the menu dynamically. in addition, i use the web20 skin. everything is fine except when i view the menu on a screen with a lower resolution, my whole menu wraps. there is enought space in each of the menu items to make the width smaller so it will fit across the screen without wrapping. my problem is i cannot figure out how to set the width of each of the menu items. i tried looping thru and setting it dynamically, but it does not seem to work.

my other problem is in the older version of the menu, i set useembeddedscripts=false. i believe this helped with performance. with the latest version, this does not seem to be available.

thanks,
susan

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 06 Nov 2008, 01:22 PM
Hello Susan,

I suggest you decrease the padding of the text of RadMenu items with the following css style:

<style type="text/css">
.RadMenu_Web20 .rmText {
   padding-left: 5px !important;
   padding-right: 3px !important;
}
</style>

As to your second issue, you can use EnableEmbeddedScripts property with the new version.

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Susan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or