-
25 Jul 2012 11:31 AM #1
Unanswered: bug fieldcontainer layout type 'HBOX'....
Unanswered: bug fieldcontainer layout type 'HBOX'....
fieldcontainer layout bug type 'HBox' ....
when I put a textfield and a button is like the image below ...
Captura de tela de 2012-07-25 16:08:54.png
follows the code ...
HTML Code:{ xtype: 'fieldcontainer', autoHeight: true, hideLabel: true, layout: { align: 'stretch', type: 'hbox' }, items: [ { xtype: 'textfield', name: 'cabo_fibra_nome', id: 'cabo_fibra_id_splitter_porta_nome', readOnly: true, flex: 1, anchor: '100%', fieldLabel: 'Cabo Fibra' }, { xtype: 'button', hidden: true, id: 'cabo_fibra_id_splitter_porta_button', margins: '15 0 0 5', iconCls: 'bt_cancel' } ] }
-
25 Jul 2012 11:38 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3157
What's the bug?
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.
-
25 Jul 2012 11:40 AM #3
see the size of the textfield ...
if an combobox or NumberField be normal
-
25 Jul 2012 11:42 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3157
Inspect the DOM, did the button make the textfield larger?
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.
-
25 Jul 2012 11:44 AM #5
the same error happens if a textfield to a combobox or NumberField ...
is not because the button does not ...
-
25 Jul 2012 2:11 PM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3157
What browser? On Chrome and using 4.1.1 inspecting the <input> elements they are all 22px tall as expected
Code:new Ext.form.Panel({ renderTo : document.body, width : 400, height : 400, items : [ { xtype : 'fieldcontainer', autoHeight : true, hideLabel : true, layout : { align : 'stretch', type : 'hbox' }, items : [ { xtype : 'textfield', name : 'cabo_fibra_nome', readOnly : true, flex : 1, anchor : '100%', fieldLabel : 'Test' }, { xtype : 'textfield' } ] }, { xtype : 'textfield', fieldLabel : 'Control' } ] });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 Jul 2012 3:11 AM #7



Reply With Quote