From 1457e9542f2398a058881f926d9f4d650e2d9f42 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 3 Apr 2025 15:42:41 -0400 Subject: [SharedCache] Misc triage view bug fixes - Fix the inconsistent column sizing - Stop trying to show cross reference at 0 --- view/sharedcache/ui/dsctriage.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/sharedcache/ui/dsctriage.h') diff --git a/view/sharedcache/ui/dsctriage.h b/view/sharedcache/ui/dsctriage.h index ae49bc8e..b1e98f6d 100644 --- a/view/sharedcache/ui/dsctriage.h +++ b/view/sharedcache/ui/dsctriage.h @@ -31,6 +31,7 @@ public: initStyleOption(&opt, index); opt.palette.setColor(QPalette::Text, getThemeColor(BNThemeColor::AddressColor)); + opt.displayAlignment = Qt::AlignCenter | Qt::AlignVCenter; QStyledItemDelegate::paint(painter, opt, index); } @@ -142,6 +143,7 @@ public: QFont getFont() override; bool navigate(uint64_t offset) override; uint64_t getCurrentOffset() override; + SelectionInfoForXref getSelectionForXref() override; void OnAfterOpenFile(UIContext* context, FileContext* file, ViewFrame* frame) override; void RefreshData(); -- cgit v1.3.1