This commit is contained in:
2022-04-12 12:44:15 -05:00
parent 5d79706015
commit 7fb0518e93
2 changed files with 42 additions and 16 deletions

View File

@@ -8,8 +8,9 @@
<resources minRequiredRevision="1.0"/>
<supportedOn>
<definitions>
<definition displayName="$(string.SUPPORTED_WIN7)" name="SUPPORTED_WIN7"/>
<definition displayName="$(string.SUPPORTED_WIN7_ONLY)" name="SUPPORTED_WIN7_ONLY"/>
<definition displayName="$(string.SUPPORTED_WIN)" name="SUPPORTED_WIN"/>
<definition displayName="$(string.SUPPORTED_WIN10_ONLY)" name="SUPPORTED_WIN10_ONLY"/>
<definition displayName="$(string.SUPPORTED_WIN11_ONLY)" name="SUPPORTED_WIN11_ONLY"/>
</definitions>
</supportedOn>
<categories>
@@ -32,17 +33,30 @@
class="User"
displayName="$(string.ClassicTaskbarMenuPosition_Display)"
explainText="$(string.ClassicTaskbarMenuPosition_Explain)"
presentation="$(presentation.ClassicTaskbarMenuPosition_PresentationID)"
key="Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
valueName="TaskbarAl"
>
<parentCategory ref="w11"/>
<supportedOn ref="SUPPORTED_WIN7"/>
<enabledValue>
<supportedOn ref="SUPPORTED_WIN11_ONLY"/>
<elements>
<enum id="ClassicTaskbarMenuPosition_Enum" valueName="TaskbarAl">
<item displayName="$(string.ClassicTaskbarMenuPosition_Left)">
<value>
<decimal value="0"/>
</enabledValue>
<disabledValue>
</value>
</item>
<item displayName="$(string.ClassicTaskbarMenuPosition_Center)">
<value>
<decimal value="1"/>
</disabledValue>
</value>
</item>
<item displayName="$(string.ClassicTaskbarMenuPosition_Disabled)">
<value>
<delete/>
</value>
</item>
</enum>
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@@ -7,20 +7,32 @@
<resources>
<stringTable>
<!-- Supported Operating Systems -->
<string id="SUPPORTED_WIN7">Microsoft Windows 7 or later</string>
<string id="SUPPORTED_WIN7_ONLY">Microsoft Windows 7</string>
<string id="SUPPORTED_WIN">Microsoft Windows 7 or later</string>
<string id="SUPPORTED_WIN10_ONLY">Microsoft Windows 10</string>
<string id="SUPPORTED_WIN11_ONLY">Microsoft Windows 11</string>
<!-- Category Names -->
<string id="CWP_DisplayName">Custom Windows Preferences</string>
<string id="uwo_DisplayName">Universal Windows Preferences</string>
<string id="W10_DisplayName">Windows 10 Preferences</string>
<string id="W11_DisplayName">Windows 11 Preferences</string>
<!-- -->
<!-- ClassicTaskbarMenuPosition -->
<string id="ClassicTaskbarMenuPosition_Display">Enable Classic Start Button Menu Position</string>
<string id="ClassicTaskbarMenuPosition_Explain">This configuration option determines the start button placement in Windows 11.
<string id="ClassicTaskbarMenuPosition_Explain">This configuration option determines the start button position/placement in Windows 11.
When enabled, the start button and other icons will be moved to the left of the screen like traditional windows environments.
When set to "Left" the start button and other icons will be moved to the left of the screen like traditional windows environments.
When disabled, the start menu and icons will be centered in the screen.</string>
When set to "Center" the start menu and icons will be centered in the screen.
When set to "Disabled" the user is allowed to choose the start button placement.</string>
<string id="ClassicTaskbarMenuPosition_Left">Left</string>
<string id="ClassicTaskbarMenuPosition_Center">Center</string>
<string id="ClassicTaskbarMenuPosition_Disabled">Disabled</string>
</stringTable>
<!-- Presentation IDs -->
<presentationTable>
<presentation id="ClassicTaskbarMenuPosition_PresentationID">
<dropdownList refId="ClassicTaskbarMenuPosition_Enum" noSort="false">Position</dropdownList>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>