Hi,
I'm using RadMenu both in LTR and RTL directions. In both menus, I have some menuitems that have text only, some that have text and icon, and some that are icon only.
In none of the themes does the mouseover line up correctly for the icon only menu items.
It is tolerable in some themes, but on other themes like Silk and Glow it looks horrible.
If you use the sample code below and play with having nothing in the text property of the items or an non-breaking space, you see it work differently and looks really messed up.
Note that I picked a random image off an icon site. If it doesn't work, substitute any 16x16 image.
Bottom line is that I need a way to make sure that the mouseover on icon only menuitems line up properly under the icon.
I'm using RadMenu both in LTR and RTL directions. In both menus, I have some menuitems that have text only, some that have text and icon, and some that are icon only.
In none of the themes does the mouseover line up correctly for the icon only menu items.
It is tolerable in some themes, but on other themes like Silk and Glow it looks horrible.
If you use the sample code below and play with having nothing in the text property of the items or an non-breaking space, you see it work differently and looks really messed up.
Note that I picked a random image off an icon site. If it doesn't work, substitute any 16x16 image.
Bottom line is that I need a way to make sure that the mouseover on icon only menuitems line up properly under the icon.
<
div
>
<
telerik:RadMenu
ID
=
"RadMenuRTL"
runat
=
"server"
Width
=
"100%"
RegisterWithScriptManager
=
"true"
Skin
=
"Silk"
dir
=
"rtl"
ClickToOpen
=
"true"
Flow
=
"Horizontal"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"1"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"2"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"With Text"
Value
=
"3"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"4"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenu
>
<
telerik:RadMenu
ID
=
"RadMenu1"
runat
=
"server"
Width
=
"100%"
RegisterWithScriptManager
=
"true"
Skin
=
"Silk"
ClickToOpen
=
"true"
Flow
=
"Horizontal"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"1"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"With Text"
Value
=
"2"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"3"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
""
Value
=
"4"
ImageUrl
=
"https://cdn1.iconfinder.com/data/icons/fatcow/16/clock_edit.png"
ToolTip
=
"Tip"
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenu
>
</
div
>