Qt: Improve cheat view UX
Vicki Pfau vi@endrift.com
Sun, 25 Aug 2019 19:43:46 -0700
2 files changed,
25 insertions(+),
24 deletions(-)
M
CHANGES
→
CHANGES
@@ -54,6 +54,7 @@ - Qt: Fix race conditions initializing GDB stub
- GBA: Set up GPIO mapping on null and ELF ROM regions (fixes mgba.io/i/1481) - GBA Cheats: Fix value incrementing in CB slide codes (fixes mgba.io/i/1501) - Qt: Only show emulator restart warning once per settings saving + - Qt: Improve cheat view UX Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M
src/platform/qt/CheatsView.ui
→
src/platform/qt/CheatsView.ui
@@ -6,14 +6,14 @@ <property name="geometry">
<rect> <x>0</x> <y>0</y> - <width>422</width> - <height>389</height> + <width>629</width> + <height>428</height> </rect> </property> <property name="windowTitle"> <string>Cheats</string> </property> - <layout class="QGridLayout" name="gridLayout"> + <layout class="QGridLayout" name="gridLayout" columnstretch="3,0,0,0"> <item row="2" column="2" colspan="2"> <widget class="QPushButton" name="remove"> <property name="text">@@ -42,27 +42,6 @@ <string>Load</string>
</property> </widget> </item> - <item row="4" column="2" rowspan="2" colspan="2"> - <widget class="QPlainTextEdit" name="codeEntry"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>180</width> - <height>16777215</height> - </size> - </property> - <property name="font"> - <font> - <family>Courier New</family> - </font> - </property> - </widget> - </item> <item row="0" column="2" colspan="2"> <widget class="QPushButton" name="addSet"> <property name="text">@@ -93,6 +72,27 @@ <enum>QAbstractItemView::ExtendedSelection</enum>
</property> <property name="headerHidden"> <bool>true</bool> + </property> + </widget> + </item> + <item row="4" column="2" rowspan="2" colspan="2"> + <widget class="QPlainTextEdit" name="codeEntry"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <family>Courier New</family> + </font> + </property> + <property name="lineWrapMode"> + <enum>QPlainTextEdit::NoWrap</enum> + </property> + <property name="placeholderText"> + <string>Enter codes here...</string> </property> </widget> </item>