aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-11 19:43:35 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-11 19:43:35 +0200
commit48f781d037a83c51fdd555fb6c9d1c2b4e424efe (patch)
treec13666e1ecb34dca68a8755af5c69534a493951f /Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml
parent1952756022f71729aab3cea304d039f9b340b5d2 (diff)
downloadTango-48f781d037a83c51fdd555fb6c9d1c2b4e424efe.tar.gz
Tango-48f781d037a83c51fdd555fb6c9d1c2b4e424efe.zip
Working on PPC hotspot and external bridge.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml
index da999385f..a64d9e89e 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchTextBox.xaml
@@ -37,7 +37,7 @@
<DockPanel>
<Border DockPanel.Dock="Bottom" Visibility="{Binding RelativeSource={RelativeSource AncestorType=local:TouchTextBox},Path=(Validation.HasError),Converter={StaticResource BooleanToVisibilityConverter}}">
<Canvas>
- <TextBlock FontSize="12" Foreground="{StaticResource TangoValidationErrorBrush}" Margin="0 5 0 0" TextWrapping="Wrap" Text="{Binding RelativeSource={RelativeSource AncestorType=local:TouchTextBox},Path=(Validation.Errors).CurrentItem.ErrorContent}"></TextBlock>
+ <TextBlock FontSize="12" Width="{Binding RelativeSource={RelativeSource AncestorType=Border},Path=ActualWidth}" Foreground="{StaticResource TangoValidationErrorBrush}" Margin="0 5 0 0" TextWrapping="Wrap" Text="{Binding RelativeSource={RelativeSource AncestorType=local:TouchTextBox},Path=(Validation.Errors).CurrentItem.ErrorContent}"></TextBlock>
</Canvas>
</Border>
<DockPanel>