You found a bug! We've classified it as EXTJSIV-7819 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    27
    Vote Rating
    0
    team.avesta is on a distinguished road

      0  

    Default Html Editor Text Area Issue

    Html Editor Text Area Issue


    Hii....
    I am Using ExtJs 4.1.2a commercial version.
    .
    I am using html editor in my form Panel...my problem is that i have different resolutions on different machines...
    .
    i have given html editor a flexible width and the HTML editor expands and collapses perfectly....but the problem is with the TEXT AREA of the editor....it remains constant...
    .
    here is my code :
    Code:
    Ext.define('JS.view.User.ProjectCharterCenterAuthorization',           {
        extend: 'Ext.form.Panel',
        alias : 'widget.projectchartercenterauthorization',
        autoScroll : true,
        shrinkWrap: true,
        store : 'ProjectCharterCenterAuthorizationStore',
         items: [{
                    xtype: 'fieldset',
                    margin : '0 5 5 5',
                    title: 'Sponsor Details',
                    items:[{
                            xtype: 'combo',
                                    //width: 375,
                            fieldLabel: 'Sponsor',
                            dataIndex: 'sponsor',
                            name: 'sponsor',
                            margin : '0 0 10 0',
                            height : '10%'
                         },{
        
                            xtype: 'htmleditor',
                            scrollable : true,
                            flex : 1,
                            width : '100%',
                            layout: {
                                        type: 'vbox',
                                        align: 'stretch',
                                        autoSize: true
                                  },
                            //height : 100,
                            //width: 375,
                            //layout : 'fit',
                            //flex : 1,
                            //resizable : true,
                            //resizeHandles : 'all',
                            fieldLabel: 'Authority',
                            name: 'sponsorAuthority',
                            dataIndex: 'sponsorAuthority'
                            
                    }]
                }]
    });
    and here is my Screen Shott :
    html-editor.png

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    I'm going to open a bug for this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    27
    Vote Rating
    0
    team.avesta is on a distinguished road

      0  

    Default


    I got some solution to this...
    .
    i used layout : 'anchor' and taken it 100%....and my problem is solved as of now...
    .
    i dont know that this is a final solution .
    .
    .
    Thanks