[Mono-bugs] [Bug 474716] New: Separator image not shown correctly on horizontal Menu

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 06:38:33 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=474716

User wmatt at bradmark.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=474716#c9

           Summary: Separator image not shown correctly on horizontal Menu
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: wmatt at bradmark.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.6)
Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

On an horizontal menu the separator image in not displayed right of the menu
text but below it. This would be correct for a vertical menu but not for a
horizontal menu. Asp.Net works correctly 

Reproducible: Always

Steps to Reproduce:
1.                        <asp:Menu ID="Menu1" runat="server" Orientation
="Horizontal" CssClass="cell_title" Height=18px Font-Size="11px"
Font-Bold="False"  ForeColor="Black" Width="560px"
OnMenuItemClick="MenuClicked" BorderStyle="None"
StaticHoverStyle-BackColor="#9FB6CE">
                            <Items>
                                <asp:MenuItem Text=" User Processes " Selected
="True" Value="0" SeparatorImageUrl="~/images/separator.jpg" ></asp:MenuItem>
                                <asp:MenuItem
SeparatorImageUrl="~/images/separator.jpg" Text=" Other Processes "
Value="1"></asp:MenuItem>
                                <asp:MenuItem Text=" Blocked Processes Tree "
Value="2"></asp:MenuItem>
                            </Items>
                            <StaticSelectedStyle Height=18px
CssClass="table_title" Font-Bold="True" Font-Size="13px" ForeColor="White" />
                        </asp:Menu>

2.
3.
Actual Results:  
The separator image is shown below the menu text

Expected Results:  
The separator image should be shown right to the menu text

Looking at the source code I see that the image is added after </table></tr>
tags. This is correct for a vertical menu. For a horizontal menu the image
should be added before these tags.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list