Преглед изворни кода

Changed vertical header resize mode so that all rows have the same height

Andreas Fetzer пре 11 година
родитељ
комит
6f7e710a45
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      Libs/DICOM/Widgets/ctkDICOMTableView.cpp

+ 0 - 3
Libs/DICOM/Widgets/ctkDICOMTableView.cpp

@@ -84,8 +84,6 @@ void ctkDICOMTableViewPrivate::init()
   Q_Q(ctkDICOMTableView);
   this->setupUi(q);
 
-  this->tblDicomDatabaseView->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
-
   this->leSearchBox->setAlwaysShowClearIcon(true);
   this->leSearchBox->setShowSearchIcon(true);
 
@@ -109,7 +107,6 @@ void ctkDICOMTableViewPrivate::setUpTableView()
       this->tblDicomDatabaseView->setColumnHidden(0, true);
       this->tblDicomDatabaseView->setSortingEnabled(true);
       this->tblDicomDatabaseView->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
-      this->tblDicomDatabaseView->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents);
       this->hideUIDColumns();
 
       QObject::connect(this->tblDicomDatabaseView->selectionModel(),