I use QMessageBox
to show messages in program(Information, Critical, Warnings and ...). It works well in English but when it is translated to farsi, the first charactors of each sentences will go under the icon.It doesn't happen always and as I understand it just happens when I use .arg for string and in argument part use "\n". for example in following code:
QMessageBox::critical(NULL , "Error", QString(tr("Backup creation failed. %1").arg("\nTest")));