summaryrefslogtreecommitdiff
path: root/ui/linearview.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2022-12-02 14:33:07 -0500
committerJosh Ferrell <josh@vector35.com>2022-12-02 14:33:07 -0500
commit5c546711f1f88bb98732298a359aed28ff7a8118 (patch)
tree6cd366f1d5f9508a2d6e5175f8aeb528a2e11b1a /ui/linearview.h
parentb1541c1d973c90b25a4534f1ad9a0a14da3e90c2 (diff)
Update linear view header spacing
Diffstat (limited to 'ui/linearview.h')
-rw-r--r--ui/linearview.h5
1 files changed, 4 insertions, 1 deletions
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;
};