Results 1 to 2 of 2

Thread: Frame: true corrupts display of tbar ?

  1. #1
    Sencha User
    Join Date
    Sep 2008
    Location
    Austria
    Posts
    17

    Question Frame: true corrupts display of tbar ?

    Hi all

    not sure, if i am doing wrong.

    Ext 3.3.1, FF 3.6 and IE8 when executing following code, the tbar is either 'docked' and looks ok, but no round corners when activated, tbar is broken out ? no additional styles in use !

    Anyone Suggestions ?



    Code:
     
    var Panel = new Ext.Panel({
       //frame : true,     // when activated toolbar is a 'separate' box
        style: 'margin-top:15px',
        bodyStyle: 'padding:10px',
        id          : 'myPanel',
        title: 'Standard',
        anchor      : '100% 75%',
        headerStyle : 'text-align:left',
        html: 'Ext.example.shortBogusMarkup  fhitz8ohjdzpdghmzh,dtz8o,jjz,g',
        autoScroll: true,
        tools:[{
            id: 'print',
            qtip: 'print Panel',
            handler: function(event, toolEl, panel){
                alert('print pressed');
            }
        },{
            id: 'restore',
            qtip: 'restore Panel',
            handler: function(event, toolEl, panel){
                alert('restore pressed');
            }
        },{
            id: 'maximize',
            qtip: 'maximize Panel',
            handler: function(event, toolEl, panel){
                alert('maximize pressed');
            }
        }],
        tbar: [{
            xtype:'splitbutton',
            text: 'Menu Button',
            iconCls: 'add16',
            menu: [{text: 'Menu Button 1'}]
        },'-',{
            xtype:'splitbutton',
            text: 'Cut',
            iconCls: 'add16',
            menu: [{text: 'Cut Menu Item'}]
        },{
            text: 'Copy',
            iconCls: 'add16'
        },{
            text: 'Paste',
            iconCls: 'add16',
            menu: [{text: 'Paste Menu Item'}]
        },'-',{
            text: 'Format',
            iconCls: 'add16'
        }]
    });
    Panel.render(Ext.getBody());
    Last edited by asterix; 17 Feb 2011 at 9:26 AM. Reason: added pic

  2. #2
    Sencha User
    Join Date
    Sep 2008
    Location
    Austria
    Posts
    17

    Default

    Attached Pic (sorry but show preview saved the post ....)

    frameonoff.jpg

Similar Threads

  1. GridPanel with tbar - tbar has display issues
    By froggman2k in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 16 Feb 2010, 2:44 PM
  2. [Ext 2.0] tbar in panel with frame:true is detached.
    By simeon in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 4 Oct 2007, 12:20 PM

Posting Permissions

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