Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug: Set Dialog sizes

$
0
0
Hello,

I guess I found a bug in your dialog pop ups. The resizing of the dialogs does not work proper. It always remembers the size of the last dialog. So the dialogs appear to big.


Try the following case:


1. Create a dialog with the following dimensions
Code:

Dialog dialog = new Dialog();
                                                                    dialog.setWidth( 400 );
                                                                    dialog.setHeight( 500 );
                                                                    dialog.setShowModalMask( true );
                                                                    SC.warn( "Info", "TEXT", null, dialog );

2. Create a new dialog
Code:

SC.say("Es liegen keine Informationen vor!");
The second dialog appears in the same size like the previous dialog. Even if you set a new size for the first dialog, it will be ignored.

Thanks
Andy

Viewing all articles
Browse latest Browse all 4756

Trending Articles