Results 1 to 3 of 3

Thread: Button not showing

  1. #1

    Default Button not showing

    Hello all,

    I'm very new to Sencha and today I'm trying to build my first ever Sencha app. However, when I write following code, I still can't see a button on the screen. Please help.
    <script language="javascript" type="text/javascript">
                onReady: function () {
                    alert("Demo Starting");
                        text: 'Sumbit Dude',
                        maxWidth: 300,
                        maxHeight: 50

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Vote Rating


    You need to create an instance of the button:

    new Ext.Button({
        text: 'foo'
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3


    Thanks Evan. Worked for me. It was a silly mistake. Thanks again.
    Windows Mobile, Windows Phone Specialist | Beginner Android, iPhone Developer

Similar Threads

  1. Button focus rectangle not showing
    By JoeH in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 21 Apr 2009, 3:44 PM
  2. Button Image on Tbar - Not SHowing
    By joefox in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 27 Feb 2009, 12:29 PM
  3. disabled button style not showing
    By nivva in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 24 Nov 2008, 5:35 AM
  4. BorderLayout not showing the collapse button correctly
    By ajiaojr in forum Ext GWT: Help & Discussion (1.x)
    Replies: 8
    Last Post: 29 Sep 2008, 12:41 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