Results 1 to 2 of 2

Thread: TextField.setHieght(100); Doesn't work in ie?

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    26
    Answers
    3
    Vote Rating
    -4
      0  

    Default TextField.setHieght(100); Doesn't work in ie?

    I use this code to set a textfield height, but it doesn't work in IE (8),
    Any one know why?

  2. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
      0  

    Default

    The code below works as expected for me on I.E. 8. Maybe you have a CSS or layout issue?:

    Code:
    var xx = Ext.create('Ext.window.Window', {
      bodyPadding: 5,
      height: 150,
      width: 400,
      items: [{
        xtype: 'textfield',
        fieldLabel: 'Last Name',
        name: 'lastName',
        width: 250
      }]
    }).show();
    
    xx.down('textfield').setHeight(100);

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
  •