[CLOSED] Drop down menu width issue

  1. #1

    [CLOSED] Drop down menu width issue

    Hi,

    This is how my menu looked like in ExtJS4:



    and this is how menus look now:



    I know it is only cosmetic issue... but menu I think menu should have some more margin/padding on the right hand side like it was before.

    Thank you,
    Attached Thumbnails Click image for larger version. 

Name:	drop-down-menu-extjs4.png 
Views:	8 
Size:	1.9 KB 
ID:	18591   Click image for larger version. 

Name:	drop-down-menu-extjs5.png 
Views:	9 
Size:	1.8 KB 
ID:	18601  
    Last edited by Daniil; Jan 12, 2015 at 6:13 AM. Reason: [CLOSED]
  2. #2
    Hi Matt,

    I could suggest you a CSS solution.

    Example
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v3 Example</title>
    
        <style>
            .x-menu-item-text {
                padding-right: 20px;
            }
        </style>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Button runat="server" Text="Menu">
                <Menu>
                    <ext:Menu runat="server">
                        <Items>
                            <ext:MenuItem runat="server" Text="Account Settings" />
                            <ext:MenuItem runat="server" Text="Account Password" />
                        </Items>
                    </ext:Menu>
                </Menu>
            </ext:Button>
        </form>
    </body>
    </html>
  3. #3
    Works for me! Thank you.

Similar Threads

  1. Custom width in menu layout
    By dinhhung09138 in forum 2.x Help
    Replies: 0
    Last Post: Dec 27, 2013, 6:23 AM
  2. [CLOSED] ComboBox/SelectBox Drop Down Width
    By rthiney in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 23, 2013, 3:36 PM
  3. toolbar: drop down menu
    By Kamal in forum 1.x Help
    Replies: 3
    Last Post: Dec 22, 2009, 5:13 AM
  4. [CLOSED] Anchored SelectBox drop down is not right width
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 17, 2009, 9:20 AM

Tags for this Thread

Posting Permissions