Skip to content
Snippets Groups Projects
Commit 9554dea2 authored by stefan's avatar stefan
Browse files

Fix for sequenceviewer (update column width for first row)

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2623 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent a5b12678
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,7 @@ void SequenceTableView::ResizeWidth(int index, int, int size) ...@@ -193,6 +193,7 @@ void SequenceTableView::ResizeWidth(int index, int, int size)
#if !(defined(__APPLE__) && (QT_VERSION>=0x040600)) #if !(defined(__APPLE__) && (QT_VERSION>=0x040600))
if(index == 0){ if(index == 0){
static_column_->setColumnWidth(0,size); static_column_->setColumnWidth(0,size);
static_row_->setColumnWidth(0,size);
static_field_->setColumnWidth(0,size); static_field_->setColumnWidth(0,size);
this->updateStaticColumn(); this->updateStaticColumn();
this->updateStaticField(); this->updateStaticField();
...@@ -206,6 +207,7 @@ void SequenceTableView::ResizeHeight(int index, int, int size) ...@@ -206,6 +207,7 @@ void SequenceTableView::ResizeHeight(int index, int, int size)
#if !(defined(__APPLE__) && (QT_VERSION>=0x040600)) #if !(defined(__APPLE__) && (QT_VERSION>=0x040600))
static_column_->setRowHeight(index, size); static_column_->setRowHeight(index, size);
if(index == 0){ if(index == 0){
static_column_->setRowHeight(0,size);
static_row_->setRowHeight(0,size); static_row_->setRowHeight(0,size);
static_field_->setRowHeight(0,size); static_field_->setRowHeight(0,size);
this->updateStaticRow(); this->updateStaticRow();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment