Results 1 to 2 of 2

Thread: custom theme sencha cmd

  1. #1
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    16
    Vote Rating
    0
      0  

    Default Answered: custom theme sencha cmd

    Hi, I am working with a custom theme named "theme-demo-app". I created a new file Button under /theme-demo-app/sass/src/button/Button.scss below the css script:


    Screenshot002.jpg


    Then I created a grid with toolbar and I apply new ui property to the button as shown in the following code:

    Screenshot.jpg
    Unfortunately the button does not appear any more after applying ui property as mentioned above.
    Anybody knows what I'm doing wrong?

    Thanks in advance.

  2. Since you're adding the button to a toolbar, you'll want to use the button-toolbar mixin:

    https://docs.sencha.com/extjs/6.0/6....olbar-large-ui

    Thanks
    Joel

  3. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    443
    Vote Rating
    185
      0  

    Default

    Since you're adding the button to a toolbar, you'll want to use the button-toolbar mixin:

    https://docs.sencha.com/extjs/6.0/6....olbar-large-ui

    Thanks
    Joel

Similar Threads

  1. Build custom theme without Sencha Cmd
    By slims in forum Sencha Cmd
    Replies: 5
    Last Post: 9 Jan 2018, 6:51 AM
  2. Build custom theme without Sencha Cmd
    By slims in forum Ext 6: Q&A
    Replies: 0
    Last Post: 21 Jan 2016, 11:53 AM
  3. Generating a custom theme using Sencha cmd
    By prashantmonteiro in forum Ext: Q&A
    Replies: 3
    Last Post: 22 Feb 2014, 11:23 AM
  4. Replies: 4
    Last Post: 28 Mar 2013, 8:12 AM
  5. Is Sencha package necessary for a custom theme?
    By umr.ashrf in forum Sencha Touch 1.x: Q&A
    Replies: 5
    Last Post: 13 Oct 2011, 5:24 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
  •