How can one scale the DirectDialog object? I also want to get rid of the default green border that is set around a dialog. Is there some way to set the position of the dialog? How do I make a dialog disappear?


A DirectDialog is a NodePath, like many other objects in Panda. You can scale it with dialog.setScale(myScale). You can temporarily hide it with dialog.hide(), and remove it completely with dialog.cleanup().

To replace the default background with something else, use image = myNewBackground to the constructor, or image = None to remove it.