Rework sizing of MemoryWidget in MemoryTab
MODIFY
src/memorytab.cpp
src/memorytab.cpp
@@ -10,8 +10,6 @@ MemoryTab::MemoryTab(QToolBar* toolbar, QWidget* parent) : RipesTab(toolbar, par
m_ui->memoryViewerWidget->updateModel();
m_ui->memoryViewerWidget->updateView();
-
- m_ui->splitter->setStretchFactor(1, 1);
}
void MemoryTab::update() {

MODIFY
src/memorytab.ui
src/memorytab.ui
<rect>
<x>0</x>
<y>0</y>
- <width>453</width>
- <height>427</height>
+ <width>839</width>
+ <height>340</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QSplitter" name="splitter">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="childrenCollapsible">
- <bool>false</bool>
- </property>
- <widget class="QWidget" name="verticalLayoutWidget">
- <layout class="QVBoxLayout" name="verticalLayout_7">
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="MemoryViewerWidget" name="memoryViewerWidget" native="true">
<property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
- </layout>
- </widget>
- <widget class="QWidget" name="verticalLayoutWidget_3">
- <layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
- <property name="sizeType">
- <enum>QSizePolicy::MinimumExpanding</enum>
- </property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
</spacer>
</item>
</layout>
- </widget>
- </widget>
</item>
</layout>
</widget>

Rework sizing of MemoryWidget in MemoryTab