diff options
author | bd <bdunahu@operationnull.com> | 2025-04-27 23:34:35 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-27 23:34:35 -0400 |
commit | 336faf3fd701aaf962613abd1ff0a69cbdf021ce (patch) | |
tree | 28cc8f2ea6e5aa1a74f328de8594b0ad5995fa66 | |
parent | a5366c56469bdec480c7eb463f9f71d7a3e3b2d2 (diff) |
Fix UI display to not be ridged
-rw-r--r-- | gui/gui.ui | 21 | ||||
-rw-r--r-- | src/ex.cc | 2 |
2 files changed, 14 insertions, 9 deletions
@@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>1522</width> + <width>1686</width> <height>621</height> </rect> </property> @@ -18,14 +18,17 @@ <item> <layout class="QGridLayout" name="gridLayout_2" rowstretch="0" columnstretch="0"> <item row="0" column="0"> - <layout class="QHBoxLayout" name="control_separator"> + <layout class="QHBoxLayout" name="control_separator" stretch="6,1"> + <property name="spacing"> + <number>6</number> + </property> <item> <layout class="QVBoxLayout" name="storage_pipe_separator"> <item> <widget class="QTabWidget" name="storage"> <property name="minimumSize"> <size> - <width>1250</width> + <width>0</width> <height>0</height> </size> </property> @@ -35,7 +38,7 @@ </widget> </item> <item> - <layout class="QHBoxLayout" name="pipe_view"> + <layout class="QHBoxLayout" name="pipe_view" stretch="1,2,2,2,2,2"> <item> <widget class="QGroupBox" name="groupBox"> <property name="maximumSize"> @@ -93,7 +96,7 @@ <widget class="QGroupBox" name="Fetch"> <property name="minimumSize"> <size> - <width>200</width> + <width>0</width> <height>0</height> </size> </property> @@ -146,7 +149,7 @@ <widget class="QGroupBox" name="Decode"> <property name="minimumSize"> <size> - <width>200</width> + <width>0</width> <height>0</height> </size> </property> @@ -199,7 +202,7 @@ <widget class="QGroupBox" name="Execute"> <property name="minimumSize"> <size> - <width>200</width> + <width>0</width> <height>0</height> </size> </property> @@ -255,7 +258,7 @@ <widget class="QGroupBox" name="Memory"> <property name="minimumSize"> <size> - <width>200</width> + <width>0</width> <height>0</height> </size> </property> @@ -308,7 +311,7 @@ <widget class="QGroupBox" name="WriteBack"> <property name="minimumSize"> <size> - <width>200</width> + <width>0</width> <height>0</height> </size> </property> @@ -32,6 +32,8 @@ void EX::advance_helper() Mnemonic m; s1 = 0, s2 = 0, s3 = 0; + v1 = {0}, v2 = {0}, v3 = {0}; + v_len = 0, v_immediate = 0, v_base_addr = 0; m = this->curr_instr->mnemonic; pc = this->curr_instr->slot_B; |