Skip to content

Commit

Permalink
Fixed Image Section Title and Caption
Browse files Browse the repository at this point in the history
  • Loading branch information
NizamLZ committed Jul 31, 2017
1 parent 9eb70dd commit 331e52e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ANAConversationSimulator/ANAConversationSimulator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>ANAConversationSimulator_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<PackageCertificateThumbprint>79269D682B0F4FB0E4D0D43B63E2C6EFA2FA7219</PackageCertificateThumbprint>
Expand Down
2 changes: 1 addition & 1 deletion ANAConversationSimulator/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="44cabbc3-0a2f-4255-b5bb-b099cd5762f9" Publisher="CN=ProjectANA" Version="1.0.75.0" />
<Identity Name="44cabbc3-0a2f-4255-b5bb-b099cd5762f9" Publisher="CN=ProjectANA" Version="1.0.76.0" />
<mp:PhoneIdentity PhoneProductId="44cabbc3-0a2f-4255-b5bb-b099cd5762f9" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>ANA Conversation Simulator</DisplayName>
Expand Down
6 changes: 3 additions & 3 deletions ANAConversationSimulator/Styles/Custom.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<SolidColorBrush x:Key="TextForegroundBrush" Color="Gray" />
<SolidColorBrush x:Key="PaleWhiteBrush" Color="#eaedf2" />
<SolidColorBrush x:Key="NFYellowBrush" Color="#00ADEF" />
<SolidColorBrush x:Key="ButtonBackgroundBrush" Color="#eaedf2" />
<SolidColorBrush x:Key="ButtonBackgroundBrush" Color="#ccc" />

<Style TargetType="TextBlock" x:Key="NormalTextStyle" >
<!--//TextWrapping="Wrap" FontSize="15" Foreground="White"-->
Expand Down Expand Up @@ -87,9 +87,9 @@
<DataTemplate x:Key="ImageSectionChatBubbleTemplate">
<C4F:ChatBubble BorderBrush="{Binding Direction, Converter={StaticResource DirectionToBorderColorConverter}}" Background="{Binding Direction, Converter={StaticResource DirectionToBackgroundColorConverter}}" HorizontalAlignment="{Binding Direction, Converter={StaticResource DirectionToAlignmentConverter}}" ChatBubbleDirection="{Binding Direction, Converter={StaticResource DirectionToBubbleDirectionConverter}}">
<StackPanel Width="200">
<TextBlock Text="{Binding Title}" Visibility="{Binding Title, Converter={StaticResource C4FS2V}}" Style="{StaticResource TitleTextStyle}" />
<TextBlock Text="{Binding Title}" Visibility="{Binding Title, Converter={StaticResource C4FS2V}}" Style="{StaticResource TitleTextStyle}" Foreground="{Binding Direction, Converter={StaticResource DirectionToForegroundColorConverter}}"/>
<Image Source="{Binding Url}" MaxHeight="300" Width="200" Stretch="Uniform"/>
<TextBlock Text="{Binding Caption}" Visibility="{Binding Caption, Converter={StaticResource C4FS2V}}" Style="{StaticResource CaptionTextStyle}" />
<TextBlock Text="{Binding Caption}" Visibility="{Binding Caption, Converter={StaticResource C4FS2V}}" Style="{StaticResource CaptionTextStyle}" Foreground="{Binding Direction, Converter={StaticResource DirectionToForegroundColorConverter}}"/>
</StackPanel>
</C4F:ChatBubble>
</DataTemplate>
Expand Down

0 comments on commit 331e52e

Please sign in to comment.