Custom alert window layouts are off

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

Another example:

image

Thanks, I’ll sort this out.

1 Like