Results 1 to 2 of 2

Thread: How to increase spacing between Yes and No in confirmation message box?

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2016
    Posts
    32

    Question How to increase spacing between Yes and No in confirmation message box?

    Hi,

    Is there any way to increase the spacing between Yes and No buttons in confirmation message box?

    I am using the confirmation message box as below-
    Code:
    Ext.Msg.confirm(
       'Confirmation', 
       'Are you sure?', 
       function ( answer ) {
          if(answer == 'yes') {
             //do something
          }
       }
    );
    Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Jan 2016
    Posts
    462
    Answers
    60

    Default

    It is a singleton instance, so keep that in mind. Here's a simple way to insert a spacer:
    Code:
    Ext.Msg.down("toolbar").insert(2,"->")

Similar Threads

  1. Message confirmation problem
    By Bassem Samy in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 30 May 2012, 12:39 AM
  2. set width for confirmation message box.
    By salmondavid888 in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 22 Sep 2011, 4:39 AM
  3. confirmation message problem
    By rubynile in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 30 Sep 2009, 9:02 PM
  4. confirmation message problem
    By rubynile in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 30 Sep 2009, 8:51 PM
  5. Increase spacing between buttons in Toolbar
    By mrkadakia in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 9 Jul 2009, 7:50 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
  •