Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4138 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    411
    Vote Rating
    17
    jweber will become famous soon enough

      0  

    Default When configuring baseCls, UI config gets applied incorrectly

    When configuring baseCls, UI config gets applied incorrectly


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.1.1

    Browser versions tested against:
    • Chrome for Mac 25.0.1364.99

    DOCTYPE tested against:
    • html

    Description:
    • When you create a component using a config object that includes a "baseCls" config and a "ui" config, the component's default ui + default baseCls gets applied, in addition to the custom ui + custom baseCls.

    Steps to reproduce the problem:
    • Load the code below

    The result that was expected:
    • The button element has a "mybutton-custom" class, but doesn't have a "x-button-normal" class.

    The result that occurs instead:
    • The button element has both classes.

    Test Case:

    Code:
    Ext.define('MyView', {
    	extend: 'Ext.Container',
    	config: {
    		fullscreen: true,
    		items: [{
    			xtype: 'button',
    			baseCls: 'mybutton',
    			ui: 'custom',
    			text: 'Hello'
    		}]
    	}
    });
    var view = Ext.create('MyView');


    HELPFUL INFORMATION


    Screenshot or Video:
    • N/A

    See this URL for live test case: N/A


    Debugging already done:
    • It looks like this is caused by Component.updateBaseCls, which calls getUI. This causes the old UI class to be applied.

    Possible fix:
    • not provided

    Additional CSS used:
    • only default ext-all.css

    Operating System:
    • Mac OS 10.8.3

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,795
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread

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