Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Description text is truncating for NumberBox #1015

Merged
merged 11 commits into from
Oct 23, 2023
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@

<smtx:XamlDisplay UniqueKey="NumberBoxSamplePage_Fluent_Default"
smtx:XamlDisplayExtensions.Header="A simple NumberBox">
<muxc:NumberBox Header="Enter a number:"
Minimum="10"
Maximum="100"
PlaceholderText="10"
Description="This is a description which is shown below the NumberBox"/>
jeromelaban marked this conversation as resolved.
Show resolved Hide resolved
<StackPanel>
<muxc:NumberBox Header="Enter a number:"
Minimum="10"
Maximum="100"
PlaceholderText="10" />
<TextBlock Text="This is a description which is shown below the NumberBox"
TextWrapping="WrapWholeWords"
Width="{Binding ActualWidth, ElementName=YourNumberBoxElementName}" />
vatsashah45 marked this conversation as resolved.
Show resolved Hide resolved
</StackPanel>
</smtx:XamlDisplay>

<smtx:XamlDisplay UniqueKey="NumberBoxSamplePage_Fluent_Expressions"
Expand Down
Loading