kostysh / File-uploading-component-for-Sencha-Touch

Ext.Button based component for uploading files in Sencha Touch apps without page refresh
51 stars 26 forks source link

iconCls ignored #20

Open ghendricks opened 10 years ago

ghendricks commented 10 years ago

I am trying to add an icon to this button, however iconCls is ignored, and anywhere I put it in the config (either in my button definition, or in the Fileup.js) it is completely hidden. Looking at the rendered html, it is including the icon class but renders with x-hidden even when I set the iconElement's hidden property to false.

whatistalking commented 9 years ago

any workarounds?

kostysh commented 9 years ago

Hi, please show me your code

whatistalking commented 8 years ago

{

                                                    xtype: 'fileupload',
                                                    itemId: 'fileImageBtn',
                                                    id:'fileImageBtn',
                                                    text:'Up',
                                                    iconCls:'upload',
                                                    autoUpload: true,
                                                    url:'origin',
                                                    flex:1
                                                }