Skip to content

Commit

Permalink
added multiline support to validation errors and helptext
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePohatu committed Apr 17, 2017
1 parent 969fe88 commit 5f8556a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TsGui/Validation/ValidationErrorToolTip.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
BorderThickness="1"
Padding="7,5,7,5" HorizontalContentAlignment="Left" VerticalAlignment="Top"
Template="{StaticResource TextBoxBaseControlTemplate}"
Text="{Binding ValidationText}"/>
Text="{Binding ValidationText, Converter={StaticResource XmlStringLine}}"/>
</Grid>
</UserControl>
2 changes: 1 addition & 1 deletion TsGui/View/GuiOptions/GuiOptionBaseUI.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
mc:Ignorable="d"
d:DesignHeight="20" d:DesignWidth="300" Visibility="{Binding Visibility}" IsEnabled="{Binding IsEnabled}">
<StackPanel x:Name="MainPanel" Width="{Binding Width}" Height="{Binding Height}"
ToolTip="{Binding HelpText}" Margin="{Binding Margin}" Orientation="Horizontal" >
ToolTip="{Binding HelpText, Converter={StaticResource XmlStringLine}}" Margin="{Binding Margin}" Orientation="Horizontal" >
<ContentPresenter x:Name="LeftPresenter" Width="{Binding LeftCellWidth}"/>
<ContentPresenter x:Name="RightPresenter" Width="{Binding RightCellWidth}"/>
</StackPanel>
Expand Down

0 comments on commit 5f8556a

Please sign in to comment.