Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp	(revision 55091)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp	(revision 55092)
@@ -198,6 +198,4 @@
 void UIPasswordEditor::prepare()
 {
-    /* Set alignment: */
-    setAlignment(Qt::AlignCenter);
     /* Set echo mode: */
     setEchoMode(QLineEdit::Password);
@@ -331,15 +329,4 @@
                       encryptedMediums.size())
                       .arg(encryptedMediums.join("<br>"));
-        }
-        case Qt::TextAlignmentRole:
-        {
-            /* Depending on column index: */
-            switch (index.column())
-            {
-                case UIEncryptionDataTableSection_Password:
-                    return Qt::AlignCenter;
-                default: return QVariant();
-            }
-            break;
         }
         default:
Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp	(revision 55091)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp	(revision 55092)
@@ -564,5 +564,4 @@
     {
         /* Configure Encryption Password editor: */
-        m_pEditorEncryptionPassword->setAlignment(Qt::AlignCenter);
         m_pEditorEncryptionPassword->setEchoMode(QLineEdit::Password);
         connect(m_pEditorEncryptionPassword, SIGNAL(textEdited(const QString&)),
@@ -575,5 +574,4 @@
     {
         /* Configure Encryption Password Confirmation editor: */
-        m_pEditorEncryptionPasswordConfirm->setAlignment(Qt::AlignCenter);
         m_pEditorEncryptionPasswordConfirm->setEchoMode(QLineEdit::Password);
         connect(m_pEditorEncryptionPasswordConfirm, SIGNAL(textEdited(const QString&)),
