[CLOSED] Css Class for Ext.Net Control

  1. #1

    [CLOSED] Css Class for Ext.Net Control

    Hi,

    There are so many css class for Ext.Net Control. For example: x-toolbar-cell, x-toolbar-default, x-toolbar-docked-bottom,...
    How can I know which css class for my control?
    Is there any document that list all css class with some descriptions?
    Last edited by Daniil; Jun 20, 2012 at 9:07 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, there is no docs which would describe ExtJS/Ext.NET CSS. I am afraid to imagine how big and cumbersome would be such docs and would they really help or not.

    You could go through the common ExtJS docs searching for the properties containing "cls". For example,
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.AbstractPanel-cfg-baseCls

    But I don't think it will be very helpful.

    I would open the docs article about the base class for all components.
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.AbstractComponent

    Then filter by "cls". You will see the list of properties and it should help to understand better how all works.

    Also the following official theming guide might be helpful.
    http://docs.sencha.com/ext-js/4-1/#/guide/theming

    Also you can look at the main and other CSS files.
    <Ext.NET sources root>\Ext.Net\Build\Ext.Net\extjs\resources\css\ext-all-debug.css
    <Ext.NET sources root>\Ext.Net\Build\Ext.Net\extnet\resources\css\extnet-all.css
    But, personally, I just inspect HTML elements and its CSS rules using browsers' Developer Tools or special plugins like FireBug for FireFox.
    Last edited by Daniil; Aug 28, 2015 at 11:08 AM.
  3. #3
    Thanks for your help. You can close this thread.

Similar Threads

  1. [CLOSED] Use CSS Class for FieldLabel
    By sadaf in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Sep 07, 2012, 6:05 PM
  2. Replies: 0
    Last Post: May 21, 2012, 2:02 AM
  3. Dynamic Control From Another Assembly Class
    By camazorro in forum 1.x Help
    Replies: 7
    Last Post: Apr 27, 2012, 4:18 PM
  4. [CLOSED] How to add css class to CompositeField?
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 13, 2012, 2:27 PM
  5. [CLOSED] GridPanel Row Class
    By state in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 16, 2009, 8:11 PM

Tags for this Thread

Posting Permissions