Ignore:
Timestamp:
Jun 25, 2010, 9:50:44 AM (11 years ago)
Author:
Paul Lelgemann
Message:

o P2PEditor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/GUI/Controls/JobDisplayTemplate.xaml

    r1549 r1701  
    11<ResourceDictionary x:Class="Cryptool.P2PEditor.GUI.Controls.JobDisplayTemplate"
    22              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Distributed="clr-namespace:Cryptool.P2PEditor.Distributed">
     3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Distributed="clr-namespace:Cryptool.P2PEditor.Distributed" xmlns:Converters="clr-namespace:Cryptool.P2PEditor.Converters">
    44
    5     <DataTemplate DataType="{x:Type Distributed:DistributedJob}" x:Key="jobDisplayTemplate">
     5        <Converters:DateTimeConverter x:Key="DateTimeConverter" />
     6        <DataTemplate DataType="{x:Type Distributed:DistributedJob}" x:Key="jobDisplayTemplate">
    67        <Grid>
    78            <Grid.ColumnDefinitions>
    8                 <ColumnDefinition Width="70" />
     9                <ColumnDefinition Width="75" />
    910                <ColumnDefinition Width="*" />
     11                <ColumnDefinition Width="130" />
    1012            </Grid.ColumnDefinitions>
    1113            <StackPanel Grid.Column="0">
    12                 <Label Content="Name:" Height="28" FontSize="13" FontWeight="Bold" />
    13                 <Label Content="Workspace:" Height="28" FontSize="11" FontWeight="Bold" />
     14                <Label Content="Name" FontWeight="Bold" Height="24" />
     15                <Label Content="Author:" FontWeight="Bold" FontSize="10" Height="23" />
     16                <Label Content="Workspace:" FontWeight="Bold" FontSize="10" Height="23" />
    1417            </StackPanel>
    1518            <StackPanel Grid.Column="1">
    16                 <Label Content="{Binding JobName}" Height="28" FontSize="13" />
    17                 <Label Content="{Binding FileName}" Height="28" FontSize="11" />
     19                <Label Content="{Binding JobName}" Height="24" />
     20                <Label Content="{Binding JobOwner}" Height="23" FontSize="10" />
     21                <Label Content="{Binding FileName}" Height="23" FontSize="10" />
    1822            </StackPanel>
    19             <Label Content="{Binding JobDescription}" Grid.ColumnSpan="2" Margin="0,50,0,0"  FontSize="11" />
     23            <StackPanel Grid.Column="2" HorizontalAlignment="Right">
     24                <Label Content="{Binding JobDate, Converter={StaticResource DateTimeConverter}}" VerticalAlignment="Top" FontSize="10" Height="23" />
     25                <Label Content="" VerticalAlignment="Top" FontSize="10" Height="23" />
     26            </StackPanel>
    2027        </Grid>
    2128    </DataTemplate>
Note: See TracChangeset for help on using the changeset viewer.