Commit 5dbf18e4 authored by atraczyk's avatar atraczyk Committed by Andreas Traczyk
Browse files

videocall: ui improvements



- centers default avatar during call
- aligns messages to bottom when viewing chat in call

Change-Id: Ib4bf61f79b1bc227fa7465170e2ee9b6c18623a5
Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 4e438da8
...@@ -397,7 +397,8 @@ ...@@ -397,7 +397,8 @@
Orientation="Horizontal"> Orientation="Horizontal">
<!-- avatar --> <!-- avatar -->
<Grid> <Grid>
<Grid Grid.Column="0" x:Name="_contactBarAvatarGrid_"> <Grid Grid.Column="0"
x:Name="_contactBarAvatarGrid_">
<Ellipse Width="36" <Ellipse Width="36"
Height="36" Height="36"
Margin="0,2,0,0" Margin="0,2,0,0"
...@@ -408,9 +409,13 @@ ...@@ -408,9 +409,13 @@
</Ellipse.Fill> </Ellipse.Fill>
</Ellipse> </Ellipse>
</Grid> </Grid>
<Grid Grid.Column="0" x:Name="_defaultContactBarAvatarGrid_" <Grid Grid.Column="0"
x:Name="_defaultContactBarAvatarGrid_"
Width="36" Width="36"
Height="36"> Height="36"
Margin="0,2,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Top">
<Ellipse x:Name="_defaultAvatar_" Fill="#ff808080" /> <Ellipse x:Name="_defaultAvatar_" Fill="#ff808080" />
<TextBlock x:Name="_defaultAvatarInitial_" <TextBlock x:Name="_defaultAvatarInitial_"
HorizontalAlignment="Center" HorizontalAlignment="Center"
...@@ -687,6 +692,7 @@ ...@@ -687,6 +692,7 @@
PointerReleased="_chatPanelResizeBarGrid__PointerReleased" /> PointerReleased="_chatPanelResizeBarGrid__PointerReleased" />
<ScrollViewer Grid.Row="1" <ScrollViewer Grid.Row="1"
x:Name="_scrollView_" x:Name="_scrollView_"
VerticalAlignment="Bottom"
BorderBrush="{StaticResource RingBlueMidBrush}" BorderBrush="{StaticResource RingBlueMidBrush}"
BorderThickness="0,0,0,0" BorderThickness="0,0,0,0"
ScrollViewer.VerticalScrollBarVisibility="Auto"> ScrollViewer.VerticalScrollBarVisibility="Auto">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment