Qt/MemoryWidget: Don't force a fixed size for the sidebar.

This commit is contained in:
Admiral H. Curtiss 2022-04-24 05:24:20 +02:00
parent 4c080b8451
commit 26f9c8b847
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -277,12 +277,13 @@ void MemoryWidget::CreateWidgets()
auto* sidebar_scroll = new QScrollArea;
sidebar_scroll->setWidget(sidebar);
sidebar_scroll->setWidgetResizable(true);
sidebar_scroll->setFixedWidth(190);
m_memory_view = new MemoryViewWidget(this);
m_splitter->addWidget(m_memory_view);
m_splitter->addWidget(sidebar_scroll);
m_splitter->setStretchFactor(0, 3);
m_splitter->setStretchFactor(1, 1);
layout->addWidget(m_splitter);