How to apply a theme to <ext:Label /> control?

  1. #1

    How to apply a theme to <ext:Label /> control?

    Hi,

    I have a rather basic question. What's the best practice to apply a skin to a Label control? It appears that it's one of the few controls that need some manual handling in that regard since
    Ext.net.ResourceMgr.setTheme('skinName');
    doesn't produce the expected result.

    Please give me some suggestions or hints.

    Thanks,

    Vadym
  2. #2
    Hi,

    ExtJS/Ext.NET doesn't support a different theme for a separate widget.

    You should apply custom CSS rules for a widget setting up its Cls config option or calling its addClass method.
  3. #3
    Thanks Daniil!

    I will look into my options as suggested.

    Vadym

Similar Threads

  1. [CLOSED] Change Theme Per Control
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 23, 2011, 9:52 AM
  2. [CLOSED] FormPanel - Hide control - label control
    By seanwo in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 11, 2010, 8:57 AM
  3. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  4. [CLOSED] [1.0] EditableGrid Apply to selection apply to all
    By ashton.lamont in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 24, 2010, 5:49 PM
  5. how to apply User theme like olive
    By pearl in forum 1.x Help
    Replies: 1
    Last Post: May 21, 2009, 3:32 AM

Posting Permissions