-
25 Jan 2013 5:00 AM #1
[4.2.0 beta 2] Wrong File field layout on show if it was hidden initially
[4.2.0 beta 2] Wrong File field layout on show if it was hidden initially
REQUIRED INFORMATION
Ext version tested:- Ext 4.2.0 beta 2
- Chrome
- IE9
- <!DOCTYPE html>
- If put a File field into an initially hidden container, its button doesn't look well (too small height) on showing that container.
- Setting up "height: 22" in its "button" config option helps.
- Click the Button
- The file field's button looks well
- The file field's button has too small height
Code:<!DOCTYPE html> <html> <head> <title>Wrong File field layout on show if it was hidden initially</title> <link rel="stylesheet" href="../resources/css/ext-all.css" /> <script src="../ext-all-debug.js"></script> <script> Ext.onReady(function () { Ext.create("Ext.button.Button", { renderTo: Ext.getBody(), text: "Show", handler: function () { Ext.getCmp("FieldSet1").show(); } }); Ext.create("Ext.form.FieldSet", { id: "FieldSet1", renderTo: Ext.getBody(), hidden: true, items: [{ xtype: "filefield" // It helps //, buttonConfig: { // height: 22 //} }] }); }); </script> </head> <body> </body> </html>
-
25 Jan 2013 10:18 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
This will be fixed in the next 4.2.0 release and can confirm it's working as expected now.
http://www.sencha.com/forum/showthread.php?250528Mitchell 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.
This issue duplicates another issue.


Reply With Quote