-
24 Nov 2012 5:05 AM #1
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 :
and here is my Screen Shott :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' }] }] });
html-editor.png
-
24 Nov 2012 6:21 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
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.
-
26 Nov 2012 6:07 AM #3
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
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.


Reply With Quote