Skip to content

Commit

Permalink
Improve height of family tab
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Dec 8, 2024
1 parent aad1204 commit a84d0ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/person_detail/person_family_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ PersonFamilyTab::PersonFamilyTab(IntegerPrimaryKey person, QWidget* parent) : QW
parentsTreeView->setModel(parentsModel);
parentsTreeView->setRootIsDecorated(false);
parentsTreeView->setSortingEnabled(false);
parentsTreeView->setMinimumHeight(100);
parentsTreeView->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
parentsTreeView->setItemDelegateForColumn(
DisplayParentModel::PERSON_ID, new FormattedIdentifierDelegate(this, FormattedIdentifierDelegate::PERSON)
);
Expand Down

0 comments on commit a84d0ff

Please sign in to comment.