mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Qt/MemoryWidget: Don't force a fixed size for the sidebar.
This commit is contained in:
parent
4c080b8451
commit
26f9c8b847
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user