From 5c546711f1f88bb98732298a359aed28ff7a8118 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Fri, 2 Dec 2022 14:33:07 -0500 Subject: Update linear view header spacing --- ui/linearview.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui/linearview.h') diff --git a/ui/linearview.h b/ui/linearview.h index 84cf1c22..4814fc6b 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -119,12 +119,15 @@ class StickyHeader: public QWidget LinearView* m_parent; BinaryViewRef m_data; + uint64_t m_gutterWidth; + uint64_t m_gutterWidthChars; + LinearViewLine m_line; public: StickyHeader(LinearView* parent, BinaryViewRef data); void update(const LinearViewLine& line); - void updateFonts() { m_render.update(); } + void updateFonts(); virtual void paintEvent(QPaintEvent* event) override; }; -- cgit v1.3.1