diff --git a/modules/gui/src/file_type_dialog.cc b/modules/gui/src/file_type_dialog.cc
index ac9dd54ab797b3114ac7ab27d4cf409488f8108a..320e101865094d3f91e8e0033ebc3a2d68a8fe5d 100644
--- a/modules/gui/src/file_type_dialog.cc
+++ b/modules/gui/src/file_type_dialog.cc
@@ -36,11 +36,16 @@ FileTypeDialog::FileTypeDialog(const QString& file_name, QWidget* parent):
 #endif
 {
   this->setWindowTitle("File format not recognized");
+  this->setFixedSize(QSize(400, 300));
   QVBoxLayout* vb=new QVBoxLayout(this);
-  label_ = new QLabel("The file format could not be recognized, please select the type of the file from the list:");
+  label_ = new QLabel("The file format could not be recognized, "
+                      "please select the type of the file from the list:");
+  label_->setWordWrap(true);
   list_ = new QTableWidget(this);
+  list_->setShowGrid(false);
   list_->horizontalHeader()->setStretchLastSection(true);
   list_->setColumnCount(2);
+  list_->setAttribute(Qt::WA_MacSmallSize);
   list_->verticalHeader()->setVisible(false);
   list_->horizontalHeader()->setVisible(false);
   list_->setSelectionBehavior(QAbstractItemView::SelectRows);