Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Adjust message content alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Avid29 committed Apr 30, 2022
1 parent 64ed288 commit b882872
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Quarrel/DataTemplates/MessageTemplates.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
FontSize="11" Opacity=".5" Margin="6,0"/>
</StackPanel>

<markdown:MessageRenderer Text="{x:Bind Content, Mode=OneWay}" Context="{x:Bind}" Grid.Row="1"/>
<markdown:MessageRenderer Text="{x:Bind Content, Mode=OneWay}"
Context="{x:Bind}" Grid.Row="1"
HorizontalAlignment="Left"/>
</Grid>
</Grid>
</DataTemplate>
Expand All @@ -51,7 +53,7 @@
<FontIcon Glyph="{x:Bind mconvert:InfoMessageIconConverter.Convert(Message.Type)}"
Foreground="{x:Bind mconvert:InfoMessageColorConverter.Convert(Message.Type)}"/>

<markdown:MessageRenderer Grid.Column="1" Margin="0,-5,0,0" Context="{x:Bind}"
<markdown:MessageRenderer Grid.Column="1" Margin="0,-5,0,0" Context="{x:Bind}" HorizontalAlignment="Left"
Text="{x:Bind mconvert:InfoMessageContentConverter.Convert((bindablemessages:BindableMessage))}"/>

<TextBlock Grid.Column="2" Text="{x:Bind tconvert:SmartTimeFormatConverter.Convert(Message.Timestamp)}"
Expand Down

0 comments on commit b882872

Please sign in to comment.