Results 1 to 7 of 7

Thread: Material Icons and Ext.theme.Material not documented

    You found a bug! We've classified it as DOCS-371 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Mar 2015
    Posts
    34
    Vote Rating
    6
      0  

    Default Answered: Material Icons and Ext.theme.Material not documented

    I was unable to find any documentation on how to use the material icons in the new material theme in the modern toolkit.

    I was also unable to find Ext.theme.Material class documented anywhere.

  2. Thanks for the report! I have opened an improvement request in our issue tracker.

  3. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    296
      -1  

  4. #3
    Sencha User
    Join Date
    Mar 2015
    Posts
    34
    Vote Rating
    6
      1  

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Yes. It's a good starting point, but it leaves much to be desired such as how to use the new material icon font and what is available in the Ext.theme.Material class. I had to dig into the examples and framework code to find out how to use iconCls: 'md-icon-xxxx' with the icons from here.

  5. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Lawrence, KS
    Posts
    462
    Answers
    65
    Vote Rating
    91
      -1  

    Default

    Thanks for the report! I have opened an improvement request in our issue tracker.

  6. #5
    Sencha Premium User
    Join Date
    Feb 2018
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Still not documented -- but thank you for the find! For others trying to do the same, also note that you need to replace the "_" from the icon name as listed on the Material icons page with a "-". So for instance, if you wanted to use the Material "date_range" icon, you would set iconCls to "md-icon-date-range".

  7. #6
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Still not documented.
    I would like to use the icon in a <span> instead. This is possible with the font-awesome icons, but i cant figure out how to do the same with the material icons

  8. #7
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    866
    Answers
    15
    Vote Rating
    78
      0  

    Default

    Sencha?
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

Similar Threads

  1. Google Material Design theme
    By dandvd in forum Ext 5: Q&A
    Replies: 44
    Last Post: 21 Sep 2017, 12:56 AM
  2. [OPEN] textareafield won't flex with modern / material theme
    By froamer in forum Ext 6.2 Early Access
    Replies: 2
    Last Post: 8 Sep 2016, 3:04 AM
  3. Material theme contains deprecated variables
    By Zdeno in forum Ext 6.2 Early Access
    Replies: 0
    Last Post: 18 Aug 2016, 4:37 AM
  4. Conference material
    By Mango_lier in forum Community Discussion
    Replies: 54
    Last Post: 28 Sep 2009, 6:47 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •