diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-03 15:42:41 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-04-03 21:35:42 -0400 |
| commit | 1457e9542f2398a058881f926d9f4d650e2d9f42 (patch) | |
| tree | 3e0368da80b27aecd5b6282a18a7a08470a2d3da /view/sharedcache/ui/symboltable.cpp | |
| parent | 8383429571509196787913849120202034859749 (diff) | |
[SharedCache] Misc triage view bug fixes
- Fix the inconsistent column sizing
- Stop trying to show cross reference at 0
Diffstat (limited to 'view/sharedcache/ui/symboltable.cpp')
| -rw-r--r-- | view/sharedcache/ui/symboltable.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/sharedcache/ui/symboltable.cpp b/view/sharedcache/ui/symboltable.cpp index c96ce086..0b006fbc 100644 --- a/view/sharedcache/ui/symboltable.cpp +++ b/view/sharedcache/ui/symboltable.cpp @@ -118,11 +118,13 @@ SymbolTableView::SymbolTableView(QWidget* parent) setModel(m_model); // Configure view settings - horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents); - horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents); + horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed); + horizontalHeader()->setSectionResizeMode(1, QHeaderView::Fixed); horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch); + setEditTriggers(QAbstractItemView::NoEditTriggers); setSelectionBehavior(QAbstractItemView::SelectRows); setSelectionMode(QAbstractItemView::SingleSelection); + verticalHeader()->setVisible(false); setSortingEnabled(true); } |
