Enforce a min/max on the Profile page's FontSize input (#8772)
Closes #8759
This commit is contained in:
parent
cb2cd7e219
commit
9b636edad2
|
@ -39,7 +39,7 @@ the MIT License. See LICENSE in the project root for license information. -->
|
|||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
|
||||
<TextBlock x:Uid="Profile_BaseLayerDisclaimer"
|
||||
Grid.Row="0"
|
||||
Margin="{StaticResource StandardIndentMargin}"
|
||||
|
@ -206,6 +206,9 @@ the MIT License. See LICENSE in the project root for license information. -->
|
|||
<muxc:NumberBox x:Uid="Profile_FontSize"
|
||||
Value="{x:Bind State.Profile.FontSize, Mode=TwoWay}"
|
||||
Style="{StaticResource NumberBoxSettingStyle}"
|
||||
AcceptsExpression="False"
|
||||
Minimum="1"
|
||||
Maximum="128"
|
||||
SmallChange="1"
|
||||
LargeChange="10"/>
|
||||
</ContentPresenter>
|
||||
|
|
Loading…
Reference in a new issue