Commit 2c3c47f9 authored by Margaux Clerc's avatar Margaux Clerc

Update statusbar style

parent 179ef2ae
......@@ -7,16 +7,8 @@
xmlns:Model="using:Linphone.Model"
d:DesignHeight="30" d:DesignWidth="480">
<UserControl.Resources>
<Style x:Key="TextStyle"
TargetType="TextBlock">
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontFamily" Value="{ThemeResource PhoneFontFamilyNormal}" />
</Style>
</UserControl.Resources>
<StackPanel x:Name="LayoutRoot" Background="Transparent" Orientation="Horizontal" Padding="5,5,5,5" VerticalAlignment="Center">
<Image x:Name="StatusLed" Height="15" Width="15" Stretch="Uniform" Margin="10,0,5,0" VerticalAlignment="Center" ></Image>
<TextBlock x:Name="StatusText" Style="{StaticResource TextStyle}" VerticalAlignment="Center"></TextBlock>
<TextBlock x:Name="StatusText" Style="{StaticResource StatusBarTextStyle}" VerticalAlignment="Center"></TextBlock>
</StackPanel>
</UserControl>
\ No newline at end of file
/*
StatusBar.xaml.cs
Copyright (C) 20016 Belledonne Communications, Grenoble, France
Copyright (C) 2016 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
......@@ -23,9 +23,7 @@ using Windows.ApplicationModel.Resources;
namespace Linphone.Controls
{
/// <summary>
/// User control to be displayed on each page, giving the state of the account registration.
/// </summary>'
public partial class StatusBar : UserControl
{
......
......@@ -232,6 +232,16 @@
Value="ExtraLight"/>
</Style>
<Style x:Key="StatusBarTextStyle"
TargetType="TextBlock">
<Setter Property="FontSize"
Value="16" />
<Setter Property="FontFamily"
Value="{ThemeResource PhoneFontFamilyNormal}" />
<Setter Property="FontWeight"
Value="Normal"/>
</Style>
<Style x:Key="DialpadIconStyle"
TargetType="FontIcon">
<Setter Property="FontSize"
......
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