summaryrefslogtreecommitdiff
path: root/Juick/MainPage.xaml
diff options
context:
space:
mode:
authorGravatar k0st1x2012-10-01 23:40:40 +0400
committerGravatar k0st1x2012-10-01 23:40:40 +0400
commit2edd605343e167dee0eb81b9ab0f4d8368ff7ac4 (patch)
tree3f7b2dad015d8cd6d27e7dac155c5853f515f3e1 /Juick/MainPage.xaml
parent28986641046c8ee1dc2aba0055dfa36b811b25d2 (diff)
fix 'unspecified error'
Diffstat (limited to 'Juick/MainPage.xaml')
-rw-r--r--Juick/MainPage.xaml19
1 files changed, 8 insertions, 11 deletions
diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml
index d8e8742..bd446ed 100644
--- a/Juick/MainPage.xaml
+++ b/Juick/MainPage.xaml
@@ -15,11 +15,11 @@
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
shell:SystemTray.IsVisible="False">
- <!--<FrameworkElement.Resources>
+ <phone:PhoneApplicationPage.Resources>
<ResourceDictionary>
<bindings:RichTextConverter x:Key="inlineConverter" />
</ResourceDictionary>
- </FrameworkElement.Resources>-->
+ </phone:PhoneApplicationPage.Resources>
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
@@ -58,16 +58,13 @@
FontFamily="{StaticResource PhoneFontFamilySemiLight}"
FontSize="{StaticResource PhoneFontSizeLarge}"
Style="{StaticResource PhoneTextAccentStyle}" />
+ <!--Style="{StaticResource PhoneTextNormalStyle}"-->
<RichTextBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
- Foreground="{StaticResource PhoneForegroundBrush}"
- Style="{StaticResource PhoneTextNormalStyle}"
- Margin="5,0,5,5" VerticalAlignment="Top"
- TextWrapping="Wrap" HorizontalAlignment="Left"
- IsReadOnly="True">
- <!--<Paragraph bindings:ParagraphBindingBehavior.AssignedInlines="{Binding MessageText, Converter={StaticResource inlineConverter}}" />-->
- <Paragraph>
- <Run Text="{Binding MessageText}"/>
- </Paragraph>
+ TextWrapping="Wrap" HorizontalAlignment="Left"
+ Foreground="{StaticResource PhoneForegroundBrush}"
+ Margin="5,0,5,5" VerticalAlignment="Top"
+ IsReadOnly="True">
+ <Paragraph bindings:ParagraphBindingBehavior.AssignedInlines="{Binding MessageText, Converter={StaticResource inlineConverter}}" />
</RichTextBox>
<Image Source="{Binding Attachment}" Grid.Row="2" Grid.Column="0" Margin="3" Grid.ColumnSpan="2" />
<TextBlock Text="{Binding Status}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2"