Solved How to make a customize messagebox ?
-
How to make a customize messagebox ? It can resize for content.
-
@chris_rookie
Either try sending large text toQMessageBox
and see what it looks like (it may resize, I don't know), or roll your own viaQDialog
which does whatever you want. -
@JonB
It should, I wanna make a general customize messagebox. It can be used on all condition, just like the QMessageBox.
I just how to resize QDialog's size dynamic。 -
@chris_rookie
I believe you'll find thatQDialog
already has "dynamic" size/resizes to accommodate oversized content. Have you tried it? -
@JonB
ok.
I'll try it now.