Results 1 to 3 of 3

Thread: MessageBox increase height of buttons

  1. #1
    Sencha User
    Join Date
    Dec 2009
    Posts
    3

    Default MessageBox increase height of buttons

    Hello Ext Gurus,

    Is there a way to increase height of buttons inside MessageBox?

    Code:
    Ext.Msg.show({
            title:'Title',
            msg: 'blahblah...',
            buttons: Ext.MessageBox.OKCANCEL,
            buttons: {ok: 'Confirm Approve', cancel:'Decline'},
            fn: myHandler,
            icon: Ext.MessageBox.QUESTION
        });
    Currently 'Confirm Approve' button is too small. I'm wondering if I can use scale:'medium' from Button.

    Thanks

  2. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895

    Default

    Ext.MessageBox is a convenience class, so you don't get many options for restyling.

    An alternative would be to create an Ext.Window with a child message Ext.Panel and buttons config. Then you can easily override styling all you want.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Posts
    3

    Default

    That is what I end up doing. Thank you friend!

Similar Threads

  1. Increase the comboBox height
    By ds0870 in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 11 Oct 2013, 1:35 AM
  2. splitbar height increase
    By sndy in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 15 Feb 2011, 6:11 AM
  3. How to increase the height of the datagrid row
    By nash99 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Aug 2009, 12:21 AM
  4. combobox height increase
    By kolli in forum Community Discussion
    Replies: 3
    Last Post: 14 Nov 2008, 5:44 AM
  5. tabs increase height
    By ridley_69 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 28 Jun 2007, 5:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •