mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 15:01:45 +03:00
map improvement
user picture image crop
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
|
||||
shell:SystemTray.IsVisible="True">
|
||||
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Loaded">
|
||||
<cmd:EventToCommand Command="{Binding MainLoadCommand}" />
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>
|
||||
|
||||
<!--LayoutRoot is the root grid where all page content is placed-->
|
||||
<Grid x:Name="LayoutRoot" Background="Transparent">
|
||||
<Grid.RowDefinitions>
|
||||
@@ -21,8 +27,9 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!--TitlePanel contains the name of the application and page title-->
|
||||
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
|
||||
<TextBlock x:Name="ApplicationTitle" Text="{Binding Path=ApplicationTitle}" Style="{StaticResource PhoneTextNormalStyle}"/>
|
||||
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,12,0,12">
|
||||
<TextBlock x:Name="ApplicationTitle" Text="{Binding Path=ApplicationTitle}" Style="{StaticResource PhoneTextNormalStyle}"
|
||||
Foreground="{StaticResource PhoneAccentBrush}" />
|
||||
<TextBlock x:Name="PageTitle"
|
||||
Text="{Binding Path=PageNameSettings}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
|
||||
</StackPanel>
|
||||
@@ -35,7 +42,8 @@
|
||||
Margin="6,0,0,6"
|
||||
>
|
||||
<TextBlock Text="My Name"
|
||||
Style="{StaticResource PhoneTextTitle3Style}" />
|
||||
Style="{StaticResource PhoneTextTitle3Style}"
|
||||
/>
|
||||
<TextBox Height="67"
|
||||
HorizontalAlignment="Stretch"
|
||||
Name="txtMyName"
|
||||
@@ -48,14 +56,15 @@
|
||||
Margin="0, 24, 0, 24"
|
||||
Width="200"
|
||||
Height="200"
|
||||
Background="#00fffc"
|
||||
Background="{StaticResource PhoneAccentBrush}"
|
||||
BorderThickness="0"
|
||||
Padding="0"
|
||||
>
|
||||
<Image x:Name="myPicture"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Margin="3"
|
||||
Stretch="Uniform"
|
||||
Margin="1"
|
||||
Source="{Binding MyPicture}"></Image>
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Click">
|
||||
|
||||
Reference in New Issue
Block a user