Results 1 to 3 of 3

Thread: Autowidth item in navigation menu from Admin Dashboard example

  1. #1
    Sencha Premium User
    Join Date
    Feb 2016
    Posts
    17
    Answers
    2

    Default Autowidth item in navigation menu from Admin Dashboard example

    Hi,

    If you look at the Admin Dashboard example : if the navigation menu is collapsed\reduced, then select the "Pages" menu, you'll see that the last item ("Password Reset") is trunked :

    2017-07-31_16h03_58.png

    I think the width of the component is computed but how to display menu items with bigger widths ?

    Thanks in advance for your help,

    Mpe

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I don't know of an auto-width setting as you describe. You could looking through the code to override (especially if you want some kind of auto-sizing). You might be able to affect the width using CSS. You can inspect the menu by clicking on the Pages icon a few times (which will stick the Pages menu header on the screen. You can then click 'Pages' in that header to stick the menu while you grab the inspection tool.

  3. #3
    Sencha Premium User
    Join Date
    Feb 2016
    Posts
    17
    Answers
    2

    Default

    Thanks for your reply.
    I did what you said and I found that :

    2017-08-01_08h35_23.jpg

    The width (186px) is a computed style value and the class is : "x-container x-treelist x-unselectable x-treelist-navigation x-treelist-floater x-layer x-container-default x-border-box"
    I am not a specialist in css/scss but what can I do with that ?

Similar Threads

  1. Admin Dashboard menu fails if tree store is filtered
    By froamer in forum Ext JS 6.x Bugs
    Replies: 1
    Last Post: 9 Jun 2017, 1:42 AM
  2. Replies: 3
    Last Post: 16 Mar 2017, 7:54 AM
  3. Replies: 2
    Last Post: 3 Jan 2017, 7:13 PM
  4. Admin dashboard - Add new View
    By brunoadvpl in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 14 Sep 2016, 4:39 AM
  5. Err when trying to start Admin Dashboard app
    By prog1dev in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 8 Mar 2016, 10:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •