1. #1
    Sencha Premium Member
    Join Date
    Mar 2007
    Posts
    55
    Vote Rating
    0
    nseb is on a distinguished road

      0  

    Default ThemeSelector : change theme without reload

    ThemeSelector : change theme without reload


    Hi ,

    it's possible to change theme without reload , like as extjs ?
    can use ext's theme with gxt ?

    Best Regards,
    Sebastien.

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi, since this was not answered, I bring it back here:

    Is it still not possible to change the theme without restarting the application, like we had in ext-js?

    If not, is there any reason why?

    Thanks,
    Michel.

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Sure you can just swap the css files and the look will change. If you want this without a reload you can easily implement it.

  4. #4
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi Sven.

    Could you please guide me on how to do it?

    I guess I would need to use CSS class for this, right?

    I would need to remove the old one (what is the id?)
    and then I would need to add the new one...

    Is this the way?

  5. #5
    Ext User
    Join Date
    Aug 2009
    Posts
    18
    Vote Rating
    0
    Roby is on a distinguished road

      0  

    Default


    Anyone have implement the way how to swap the css files which look like switchTheme from BLUE to GRAY?

  6. #6
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    22
    Vote Rating
    0
    peet is on a distinguished road

      0  

    Default


    use:

    Ext.util.CSS.swapStyleSheet(id, url);

    and

    Ext.util.CSS.removeStyleSheet(id)

    swap appends to existing making it override them. old one should be removed so they do not interfere.

  7. #7
    Sencha User
    Join Date
    Aug 2011
    Posts
    25
    Vote Rating
    0
    geovannefarell is on a distinguished road

      0  

    Default


    can you explain to me ??
    pleaseeee.....
    where the code write it ?

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..."