when a dialog gets created, the length of the title gets taken into account, but when it its main view gets resized, and the dialog resizes as a result, the length of the title does not get taken into account (which is what I personally prefer actually)
dunno if I’d call this a bug even, but I’d rather err on the side of reporting too much.
Try creating the dialog with only these options, you probably will notice the title appears correctly because the window has sized it to the title-size.
It seems that the resize routine is not checking this matter compared to the creation routine.