From ad85689417d47e6ab5ee2fa97b77234800c9d224 Mon Sep 17 00:00:00 2001 From: Levi Behunin <l3ehunin@gmail.com> Date: Sat, 18 Sep 2021 19:41:59 -0600 Subject: [PATCH 1/2] Tas configure ui nits Text looked cramped on my pc (Ubuntu 21.04). Re-flowed text as well for nicer read. --- src/yuzu/configuration/configure_tas.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/yuzu/configuration/configure_tas.ui b/src/yuzu/configuration/configure_tas.ui index 8a3ecb834a..7aa69582c7 100644 --- a/src/yuzu/configuration/configure_tas.ui +++ b/src/yuzu/configuration/configure_tas.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>800</width> - <height>300</height> + <width>900</width> + <height>506</height> </rect> </property> <property name="windowTitle"> @@ -25,7 +25,7 @@ <item row="0" column="0" colspan="1"> <widget class="QLabel" name="label_1"> <property name="text"> - <string>Reads controller input from scripts in the same format as TAS-nx scripts. For a more detailed explanation please consult the FAQ on the yuzu website.</string> + <string>Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation please consult the FAQ on the yuzu website.</string> </property> <property name="wordWrap"> <bool>true</bool> @@ -45,7 +45,7 @@ <item row="2" column="0" colspan="1"> <widget class="QLabel" name="label_2"> <property name="text"> - <string>WARNING: This is an experimental feature. It will not play back scripts frame perfectly with the current, imperfect syncing method.</string> + <string>WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method.</string> </property> <property name="wordWrap"> <bool>true</bool> From 77e327dd1ab0c524ef8c7dbc80c64fa6e0589801 Mon Sep 17 00:00:00 2001 From: Levi Behunin <l3ehunin@gmail.com> Date: Mon, 20 Sep 2021 20:02:54 -0600 Subject: [PATCH 2/2] Clean-up Numerize names, remove unneeded properties and spacer. --- src/yuzu/configuration/configure_tas.ui | 58 ++++++------------------- 1 file changed, 14 insertions(+), 44 deletions(-) diff --git a/src/yuzu/configuration/configure_tas.ui b/src/yuzu/configuration/configure_tas.ui index 7aa69582c7..95575ed9d9 100644 --- a/src/yuzu/configuration/configure_tas.ui +++ b/src/yuzu/configuration/configure_tas.ui @@ -2,37 +2,23 @@ <ui version="4.0"> <class>ConfigureTas</class> <widget class="QDialog" name="ConfigureTas"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>900</width> - <height>506</height> - </rect> - </property> - <property name="windowTitle"> - <string>Dialog</string> - </property> <layout class="QVBoxLayout" name="verticalLayout_1"> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout_1"> <item> - <widget class="QGroupBox" name="groupBox"> + <widget class="QGroupBox" name="groupBox_1"> <property name="title"> <string>TAS</string> </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0" colspan="1"> + <layout class="QGridLayout" name="gridLayout_1"> + <item row="0" column="0" colspan="4"> <widget class="QLabel" name="label_1"> <property name="text"> <string>Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation please consult the FAQ on the yuzu website.</string> </property> - <property name="wordWrap"> - <bool>true</bool> - </property> </widget> </item> - <item row="1" column="0" colspan="1"> + <item row="1" column="0" colspan="4"> <widget class="QLabel" name="label_2"> <property name="text"> <string>To check which hotkeys control the playback/recording, please refer to the Hotkey settings (General -> Hotkeys).</string> @@ -42,8 +28,8 @@ </property> </widget> </item> - <item row="2" column="0" colspan="1"> - <widget class="QLabel" name="label_2"> + <item row="2" column="0" colspan="4"> + <widget class="QLabel" name="label_3"> <property name="text"> <string>WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method.</string> </property> @@ -58,13 +44,13 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QGroupBox" name="groupBox"> + <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Settings</string> </property> - <layout class="QGridLayout" name="gridLayout"> + <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0" colspan="4"> <widget class="QCheckBox" name="tas_enable"> <property name="text"> @@ -102,15 +88,15 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> - <widget class="QGroupBox" name="groupBox"> + <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>Script Directory</string> </property> - <layout class="QGridLayout" name="gridLayout"> + <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> - <widget class="QLabel" name="label"> + <widget class="QLabel" name="label_4"> <property name="text"> <string>Path</string> </property> @@ -126,22 +112,6 @@ <item row="0" column="2"> <widget class="QLineEdit" name="tas_path_edit"/> </item> - <item row="0" column="1"> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Maximum</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>60</width> - <height>20</height> - </size> - </property> - </spacer> - </item> </layout> </widget> </item>