Results 1 to 2 of 2

Thread: Field within tabpanel not properly initialized

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    9

    Default Field within tabpanel not properly initialized

    So this is a weird bug.

    I have a tabpanel with two tabs, both have the exact same content, a trigger field positioned with the absolute layout manager.

    It works fine in FF, but with IE8, I have a small problem. The tab activated by default isn't properly initialized. It's not rendered correctly.

    Right now, I will probably try to activate the tab after some waiting time to fix the problem.

    Here's the code that creates both panel of the tabpanel:

    Code:
    new Ext.Panel({
                    title: 'my title',
                    layout: 'absolute',
                    height: 72,
                    items: new Ext.form.TriggerField({
                        x: '10%',
                        y: '25',
                        height: '30',
                        anchor: '80%',
                        triggerClass: 'searchFieldTrigger',
                        listeners: {
                            specialkey: function(f, e) {
                            if(e.getKey() == e.ENTER){
                                // do something
                            }
                        }
                    }
                  })
                })
    You may want to look at the screenshot to see what it should look like, and what it actually looks like.

    Thanks.
    Attached Images Attached Images

  2. #2
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516

    Default

    The first thing I noticed is that you have string values for 'x', 'y', and 'height' in your TriggerField() config... which should be plain integer values. I don't know if that's causing any funkiness on your end, but it's a starting point.

Similar Threads

  1. howto use tabpanel autoload properly?
    By [email protected] in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 26 Oct 2010, 11:44 PM
  2. [CLOSED] stateful is not initialized properly
    By mikecar in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 4 Jun 2010, 6:24 AM
  3. [2.2] TabPanel close not working properly
    By durlabh in forum Ext 2.x: Bugs
    Replies: 8
    Last Post: 8 Jan 2009, 1:20 PM
  4. Date field selection not rendering properly
    By hsmukunda in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Apr 2008, 11:29 PM
  5. gridPanel in TabPanel does not show properly in IE
    By bwang_dal in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 30 Jan 2008, 1:54 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
  •