-
19 Jul 2011 12:54 PM #1
Resizing Window
Resizing Window
Hi,
Long story short.
There's a bug with resizing a window. You can get it a lot of different ways. I found that easiest is:
Create a window(yep, I know there's a lot of overhead):
Now take it from left or the right side and resize it to as small as gets with one drag. You get something like the picture in the attachments - empty area in window body's right and bottom sides.Code:Ext.create('Ext.window.Window', { title: "A Window", width: 550, minWidth: 350, layout: 'fit', constrain: true, autoScroll: true, collapsible: false, resizable: true, fieldDefaults: { labelAlign: 'right', labelWidth: 130 }, defaults: { anchor: '100%' }, items: [Ext.create('MargnApplication.form.Panel', { bodyPadding: 5, defaults:{ anchor: '100%' }, items: [{ fieldLabel: "The first field", xtype: 'textfield', name: 'x', allowBlank: false },{ fieldLabel: "The secondone", xtype: 'textfield', name: 'y', allowBlank: false }] })] }).show();
The problem is with the autoScroll - managing the scrollbars is failing.
Cheers,
R
PS: Nice to see that you got the "Preview Post" button working at last.
-
19 Jul 2011 2:51 PM #2
thanks for the report, I got it filed as EXTJSIV-3521
-
15 Nov 2011 10:43 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
Checked against latest code and this seems to be resolved. Marking as fixed.
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.
-
5 Dec 2011 10:52 PM #4
Thanks for resolving this issue.
I have got same issue with Panel also.
May I know is same issue is resolved for Panel also?
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-3521
in
TBD.


Reply With Quote