Custom alert window layouts are off


#1

Hi, when creating custom alert windows the layout is always somewhat off, e.g.

    AlertWindow al( "This is a title", "This is a longer string of text that is being added to the dialog", AlertWindow::AlertIconType::QuestionIcon );
    al.addTextEditor( "Name", hash );
    al.addButton( "Ok", 1 );

image


#2

Another example:

image


#3

Thanks, I’ll sort this out.