Results 1 to 2 of 2

Thread: tbspacer is not found

  1. #1

    Default tbspacer is not found

    Dear sirs,

    I have such structure
    Code:
    tbar: [
            {text: '????????', iconCls: 'fa fa-plus', handler: 'addTask'},
            {text: '?????????????', iconCls: 'fa fa-pencil-square-o', handler: 'editTask'},
            {text: '???????', iconCls: 'fa fa-times', handler: 'deleteTask'},
            {xtype: 'tbspacer', width: 70},
            {text: '?????????', iconCls: 'fa fa-play',handler: 'startTask'},
            {text: '??????????', iconCls: 'fa fa-stop', handler: 'stopTask'}
        ]
    .

    I get error in the browser console '(index):68 GET http://localhost/widget/tbspacer.js?_dc=20160623151649 404 (Not Found)', after I have executed command 'sencha app build production'. How can I resolve this error?

  2. #2
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    542
    Answers
    4

    Default

    Make sure the class defining 'tbspacer' xtype is used or required in the class you use this `tbar` config.
    Use the force - read the source.

Similar Threads

  1. Spacer(tbspacer) question
    By frb in forum Sencha Architect 2.x: Help & Discussions
    Replies: 2
    Last Post: 6 Feb 2012, 11:55 PM
  2. [CLOSED][PR4] tbspacer is doing nothing
    By Steffen Hiller in forum Ext:Bugs
    Replies: 4
    Last Post: 17 Mar 2011, 5:56 AM
  3. [FIXED]tbspacer seems to begin using the right-justified
    By chrisbrianolsen in forum Ext:Bugs
    Replies: 1
    Last Post: 22 Feb 2011, 6:33 PM
  4. xtype tbspacer width issue
    By Xander75 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 17 Jun 2010, 7:08 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
  •