I'm fairly new using the QMessageBox class and have a question about how to align the text and buttons. I'm using the following code to create a message box and would like the text and box to be centered but when the box is created the text and button are displayed on the right-hand side of the box. I added the html center code but that didn't help with the text. Not sure what to do about the button. Any ideas? Maybe I shouldn't be using QMessageBox? I've searched through the QMessageBox class description and can't find anything on alignment.
@ //SHOW POP-UP WHEN SAVE COMPLETE
msgBox.setText("<center>Machine Configuration Saved</center>");