1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    68
    Vote Rating
    0
    gigas01 is on a distinguished road

      0  

    Default Answered: html property isn't working!(very simple)

    Answered: html property isn't working!(very simple)


    Hey guys, i can't solve this problem.

    It has to work!! it is visualizing the icons
    , but it is not showing the html codes

    oh, and why doesn't it changes, if i put a

    iconCls: 'home'

    it has to change to a home icon, but it doesnt



    Main.js
    Code:
    Ext.define("GS.view.Main", {
        extend : 'Ext.Panel',
        requires: [
            'Ext.Toolbar','Ext.Viewport'
        ],
        config: {
            fullscreen: true,
    
    
            items: [
            {
                xtype: 'home-view'
            }
            ]
        },
        initialize: function(){
            this.setActiveItem(0);
        }
    });


    home.js
    Code:
    Ext.define("GS.view.home", {
        extend: 'Ext.tab.Panel',
        xtype: 'home-view',
    
    
        config: {
            items: [
                {
                    xtype: 'container',
                    title: 'Tab 1',
                    html: 'asdf'
                },
                {
                    xtype: 'container',
                    title: 'Tab 2'
                },
                {
                    xtype: 'container',
                    title: 'Tab 3'
                }
            ]
        }
    })

  2. You have to give your Main panel a layout and what exactly are you adding iconCls to? You can only add the iconCls to buttons or tabs in a TabPanel by default.

  3. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      0  

    Default


    You have to give your Main panel a layout and what exactly are you adding iconCls to? You can only add the iconCls to buttons or tabs in a TabPanel by default.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi