Forráskód Böngészése

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

Andreas Fetzer 11 éve
szülő
commit
6f7e710a45
1 módosított fájl, 0 hozzáadás és 3 törlés
  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);
   Q_Q(ctkDICOMTableView);
   this->setupUi(q);
   this->setupUi(q);
 
 
-  this->tblDicomDatabaseView->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
-
   this->leSearchBox->setAlwaysShowClearIcon(true);
   this->leSearchBox->setAlwaysShowClearIcon(true);
   this->leSearchBox->setShowSearchIcon(true);
   this->leSearchBox->setShowSearchIcon(true);
 
 
@@ -109,7 +107,6 @@ void ctkDICOMTableViewPrivate::setUpTableView()
       this->tblDicomDatabaseView->setColumnHidden(0, true);
       this->tblDicomDatabaseView->setColumnHidden(0, true);
       this->tblDicomDatabaseView->setSortingEnabled(true);
       this->tblDicomDatabaseView->setSortingEnabled(true);
       this->tblDicomDatabaseView->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
       this->tblDicomDatabaseView->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
-      this->tblDicomDatabaseView->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents);
       this->hideUIDColumns();
       this->hideUIDColumns();
 
 
       QObject::connect(this->tblDicomDatabaseView->selectionModel(),
       QObject::connect(this->tblDicomDatabaseView->selectionModel(),