From e5805fe927f42d3ac56dd283fc02b394a9739d79 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 26 Jan 2026 11:21:14 -0500 Subject: Improve initial layout of the container browser dialog. --- ui/containerbrowser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui') diff --git a/ui/containerbrowser.h b/ui/containerbrowser.h index b4e7b58d..8b9444a9 100644 --- a/ui/containerbrowser.h +++ b/ui/containerbrowser.h @@ -8,6 +8,7 @@ #include #include #include +#include #include "binaryninjaapi.h" #include "uitypes.h" @@ -84,6 +85,7 @@ class BINARYNINJAUIAPI ContainerBrowser : public QDialog QLineEdit* m_filter = nullptr; QTreeView* m_tree = nullptr; QPlainTextEdit* m_preview = nullptr; + QSplitter* m_splitter = nullptr; QLabel* m_status = nullptr; QLabel* m_extractionStatus = nullptr; QDialogButtonBox* m_buttons = nullptr; @@ -91,6 +93,8 @@ class BINARYNINJAUIAPI ContainerBrowser : public QDialog QStringList m_pendingSelectionPath; QStringList m_selectedPaths; + int m_lastPreviewSize = 0; + int m_dialogWidth = 0; void connectSignals(); void updatePreviewForIndex(const QModelIndex& proxyIndex); -- cgit v1.3.1