Revision 2341c603 trunk/Pithos.Client.WPF/Shell/MiniStatusView.xaml
b/trunk/Pithos.Client.WPF/Shell/MiniStatusView.xaml | ||
---|---|---|
2 | 2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 |
|
5 |
Title="Pithos+ Status" Height="100" Width="250" WindowStyle="ToolWindow" Topmost="True" Icon="/PithosPlus;component/Images/PithosTaskbar.png" WindowStartupLocation="CenterOwner"> |
|
5 |
Title="Pithos+ Status" Height="100" Width="250" WindowStyle="ToolWindow" Topmost="True" Icon="/PithosPlus;component/Images/PithosTaskbar.png" WindowStartupLocation="CenterOwner" xmlns:my="clr-namespace:Pithos.Client.WPF.Converters"> |
|
6 |
<Window.Resources> |
|
7 |
<my:ImageNameToImageConverter x:Key="PathToImage" /> |
|
8 |
</Window.Resources> |
|
6 | 9 |
<Border HorizontalAlignment="Stretch" |
7 | 10 |
VerticalAlignment="Stretch" CornerRadius="2"> |
8 | 11 |
<Grid> |
9 | 12 |
<Grid.ColumnDefinitions> |
10 | 13 |
<ColumnDefinition Width="Auto"/> |
11 | 14 |
<ColumnDefinition/> |
15 |
<ColumnDefinition Width="Auto"/> |
|
12 | 16 |
</Grid.ColumnDefinitions> |
13 |
<Image Grid.Column="0" Width="48" Height="48" HorizontalAlignment="Right" Margin="0,5,5,0" VerticalAlignment="Top" Source="/PithosPlus;component/Images/PithosTaskbar.png" Stretch="Fill" Opacity="0.7" ToolTip="Close Balloon" /> |
|
17 |
<Grid.RowDefinitions> |
|
18 |
<RowDefinition /> |
|
19 |
<RowDefinition Height="Auto"/> |
|
20 |
</Grid.RowDefinitions> |
|
21 |
<Image Grid.Column="0" Grid.RowSpan="2" Width="48" Height="48" HorizontalAlignment="Right" Margin="0,5,5,0" VerticalAlignment="Top" Source="/PithosPlus;component/Images/PithosTaskbar.png" Stretch="Fill" Opacity="0.7" ToolTip="Close Balloon" /> |
|
14 | 22 |
<TextBlock TextWrapping="Wrap" x:Name="Status" |
15 | 23 |
HorizontalAlignment="Stretch" |
16 |
VerticalAlignment="Stretch" Grid.Column="1" Margin="2,5,2,2"/> |
|
24 |
VerticalAlignment="Stretch" Grid.Column="1" Grid.RowSpan="2" Margin="2,5,2,2"/> |
|
25 |
<Button Grid.Column="2" Grid.Row="1" x:Name="ToggleSyncing" |
|
26 |
ToolTip="{Binding PauseToolTip}" > |
|
27 |
<Image Source="{Binding Path=PauseImage, Converter={StaticResource PathToImage},FallbackValue='Pause.png'}" |
|
28 |
Stretch="Uniform" Height="16"/> |
|
29 |
</Button> |
|
17 | 30 |
</Grid> |
18 | 31 |
</Border> |
19 | 32 |
</Window> |
Also available in: Unified diff