1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    21
    Vote Rating
    0
    masai is on a distinguished road

      0  

    Default Configure Ext.msg

    Configure Ext.msg


    Hi,
    I don't understand how to use Ext.MessageBox.
    I know how to create an alert message ( Ext.msg.alert() ) but I don't know how to configure options (ui, width ...).

    Any help or examples ?

    Thank you

    Massimo

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,798
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    ui is going to be pretty much CSS. You can specify the ui on the buttons but that's about it.

    Width is controlled by the message you put in there. If you need a specific width, you are going to have to use show instead of alert. alert is just a convenience method that configures the show method.

    Code:
    Ext.MessageBox.show({
        width: 300,
        height: 300,
        cls: "myBox",
        buttons: [
            { text : "Ok", ui : "confirm" }
        ],
        title: "MessageBox",
        msg: "My custom alert box"
    });
    Look at the show method for config options
    http://dev.sencha.com/deploy/touch/d...Ext.MessageBox
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Similar Threads

  1. Configure GXT with GWT Designer
    By zenqw1988 in forum Community Discussion
    Replies: 1
    Last Post: 20 May 2011, 12:33 AM
  2. Need to configure jetty - help
    By abdula in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 15 Dec 2009, 10:02 AM
  3. How to configure EXT js to Struts 2.0
    By Srini#55 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 29 May 2008, 8:25 AM
  4. grid configure
    By rush2samy in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 1 Nov 2007, 6:32 AM
  5. configure extjs for php
    By rhasan_82 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 19 Jul 2007, 3:28 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi