Qt: Improve cheat view UX

This commit is contained in:
Vicki Pfau 2019-08-25 19:43:46 -07:00
parent 3976f8f273
commit c8872a83ab
2 changed files with 25 additions and 24 deletions

View File

@ -54,6 +54,7 @@ Other fixes:
- 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

View File

@ -6,14 +6,14 @@
<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 @@
</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">
@ -96,6 +75,27 @@
</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>
</layout>
</widget>
<tabstops>