Override Ext.net theme

  1. #1

    Override Ext.net default theme for Gray button

    My customer now requires us to make a strong distinction between "Save" and "Cancel" button. Originally, those 2 buttons are gray. But now we have to make the "Save" button blue.
    When I use firebug to inspect the button element, I can see Ext have created that using 9 images. Is there anyway I can override the default theme, and create a new .NET class named "BlueButton"?
    Many thanks.
    Last edited by Nhím Hổ Báo; May 02, 2012 at 8:45 PM.
  2. #2
    Quote Originally Posted by Nhím Hổ Báo View Post
    My customer now requires us to make a strong distinction between "Save" and "Cancel" button. Originally, those 2 buttons are gray. But now we have to make the "Save" button blue.
    When I use firebug to inspect the button element, I can see Ext have created that using 9 images. Is there anyway I can override the default theme, and create a new .NET class named "BlueButton"?
    Many thanks.
    All the Components are styled with css, so changing the 'look' of any Component is a just a matter of overriding the default Theme css. In v1.x, many of the styles are set using images in css.

    With the Button, you can inspect the css styles using a tool such as Firefox + Firebug. You can then override the styles with new images, or using any standard css properties.

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Ext.NET Window Override
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 23, 2012, 11:28 AM
  2. Gridpanel override deleteSelected
    By Richardt in forum 1.x Help
    Replies: 0
    Last Post: May 11, 2012, 8:52 AM
  3. NumericFilter Menu override for v2.0
    By cwolcott in forum 2.x Help
    Replies: 2
    Last Post: Mar 21, 2012, 12:41 PM
  4. how to override in formpanel ?
    By jhenriquecosta in forum 1.x Help
    Replies: 1
    Last Post: Feb 08, 2010, 11:04 AM
  5. Replies: 0
    Last Post: Jun 08, 2009, 11:33 PM

Posting Permissions