From 59ed4131a82ab6f526c396e6ecd64cf5c075f617 Mon Sep 17 00:00:00 2001 From: Warchamp7 Date: Tue, 17 Aug 2021 01:41:57 -0400 Subject: [PATCH] UI: Clean up Settings form markup This continues work from #5133 to correct UI file markup and save correctly in Qt Creator Defining alignment as an attribute in the tag seems to be old behaviour that current versions of Qt Creator do not respect and will clobber these entries on save. The correct approach is to have alignment as a property element in the widget. As well, QWidgets that contain property definitions as well as a layout child item do not properly show up in the Qt Creator hierarchy. These properties are still invisibly applied but the QWidgets are not shown in Qt Creator and will get removed from the file after saving. --- UI/forms/OBSBasicSettings.ui | 52 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/UI/forms/OBSBasicSettings.ui b/UI/forms/OBSBasicSettings.ui index 7a276d301..26e9e7529 100644 --- a/UI/forms/OBSBasicSettings.ui +++ b/UI/forms/OBSBasicSettings.ui @@ -168,8 +168,8 @@ 9 - - + + @@ -799,7 +799,7 @@ 0 - + 0 @@ -824,7 +824,7 @@ - + 0 @@ -1052,7 +1052,7 @@ - + 0 @@ -1196,7 +1196,7 @@ - + 0 @@ -1365,8 +1365,8 @@ 9 - - + + 0 @@ -1882,8 +1882,8 @@ - - + + 0 @@ -1941,8 +1941,8 @@ 9 - - + + 0 @@ -1960,7 +1960,7 @@ 0 - + 0 @@ -1991,7 +1991,7 @@ - + 0 @@ -2124,7 +2124,7 @@ 9 - + QFormLayout::AllNonFixedFieldsGrow @@ -2194,7 +2194,7 @@ 0 - + 0 @@ -2348,7 +2348,7 @@ - + 0 @@ -2518,8 +2518,8 @@ - - + + 0 @@ -2873,7 +2873,7 @@ - + 0 @@ -3010,8 +3010,8 @@ 0 - - + + 0 @@ -3874,8 +3874,8 @@ 9 - - + + @@ -4731,7 +4731,7 @@ 9 - + @@ -5124,7 +5124,7 @@ - + true