Results 1 to 4 of 4

Thread: Menu partially displayed

  1. #1
    Sencha User omar.belkhodja's Avatar
    Join Date
    Sep 2007
    Location
    Tunisia
    Posts
    32
    Vote Rating
    0
      0  

    Default Menu partially displayed

    Hello,

    I have a problem with the display of the menu of my application, generated with Sencha Architect.
    My application has a viewport, and within the viewport I have a panel. See below a piece of code of my viewport definition.

    Code:
    Ext.applyIf(me, {
                items: [
                    {
                        xtype: 'panel',
                        layout: {
                            type: 'border'
                        },
                        dockedItems: [
                            {
                                xtype: 'appmenubar',
                                dock: 'top'
                            },
                            {
                                xtype: 'apptoolbar',
                                dock: 'top'
                            }
                        ],
    Within the panel I have 2 toolbar docked to the top. The first one is a menu and the second is button based. See below a piece of the code defining my appmenubar.

    Code:
     Ext.applyIf(me, {
                    items: [
                    {
                        xtype: 'button',
                        text: 'Fichier',
                        menu: {
                            xtype: 'menu',
                            items: [
                                {
                                    xtype: 'menuitem',
                                    text: 'Enregistrer dans un fichier'
                                },
                                {
                                    xtype: 'menuitem',
                                    text: 'Impression'
                                },
                                {
                                    xtype: 'menuitem',
                                    text: 'Dconnexion'
                                }
                            ]
                        }
                    },
    When this is rendered in the Sench Architect, I don't see any problem. But when in Chrome (didn't test other browsers), some items of the menu are not displayed, and I need to scroll into the menu in order to see them (see picture).

    menu_issue.jpg

    Does anyone know how to fix that ?
    You have to know before dreaming !

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    505
      0  

    Default

    What version of ExtJS4 do you see this in? Have you tried 4.1RC3?

    Regards,
    Scott.

  3. #3
    Sencha User omar.belkhodja's Avatar
    Join Date
    Sep 2007
    Location
    Tunisia
    Posts
    32
    Vote Rating
    0
      0  

    Default

    I didn't check that... I'm using Ext JS 4.0.2.

    I have tried now 4.0.7 and 4.1rc3, and I don't see the problem anymore.

    Thanks !

    I will report that into the Sencha Architect forum, because it is setting an old version of Ext JS by default.
    You have to know before dreaming !

  4. #4
    Sencha User omar.belkhodja's Avatar
    Join Date
    Sep 2007
    Location
    Tunisia
    Posts
    32
    Vote Rating
    0
      0  

    Default

    Checked that Sencha Architect is using Ext JS version 4.0.7 by default. So it seems that I have created my project too much time ago, and this is why Ext JS version used is old.
    You have to know before dreaming !

Posting Permissions

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