1. #1
    Sencha User Saeven's Avatar
    Join Date
    Mar 2007
    Location
    Ottawa, Canada
    Posts
    419
    Vote Rating
    1
    Saeven is on a distinguished road

      0  

    Default Ext.MessageBox.alert -- needs to size on both title and content?

    Ext.MessageBox.alert -- needs to size on both title and content?


    Not a big bug, but ruins a bit of the polish, consider this code:

    Code:
    Ext.MessageBox.alert( "This is a somewhat long title", "abc" );
    The title will be cut off smudged over the close buttons. Seems the width is being calculated on the message only, but should consider the title as well!

    Thanks for your consideration.
    Alex

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Quote Originally Posted by Saeven View Post
    Not a big bug, but ruins a bit of the polish, consider this code:

    Code:
    Ext.MessageBox.alert( "This is a somewhat long title", "abc" );
    The title will be cut off smudged over the close buttons. Seems the width is being calculated on the message only, but should consider the title as well!

    Thanks for your consideration.
    Alex
    I can offer you the workaround I'm successfully using:

    PHP Code:
    Ext.Msg.minWidth 360;
    Ext.Msg.alert(...); 
    Cheers,
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 1