Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1

    Default Button not showing

    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.
    Code:
    <script language="javascript" type="text/javascript">
            Ext.setup({
                onReady: function () {
                    alert("Demo Starting");
                    Ext.Button({
                        text: 'Sumbit Dude',
                        maxWidth: 300,
                        maxHeight: 50
                    });            
                }
            });    
        </script>

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,621
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    You need to create an instance of the button:

    Code:
    new Ext.Button({
        text: 'foo'
    }).show();
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3

    Default


    Thanks Evan. Worked for me. It was a silly mistake. Thanks again.
    Windows Mobile, Windows Phone Specialist | Beginner Android, iPhone Developer
    http://www.mayurtendulkar.com

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

Thread Participants: 1

Tags for this Thread