|
@@ -5,34 +5,34 @@
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
xmlns:local="clr-namespace:ROGOZ.Pages"
|
|
|
mc:Ignorable="d"
|
|
|
- d:Height="620" d:Width="750"
|
|
|
+ d:Height="630" d:Width="820"
|
|
|
Title="AddEditPage">
|
|
|
|
|
|
<Grid>
|
|
|
<StackPanel Orientation="Vertical" Height="550" VerticalAlignment="Top">
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
- <TextBlock Text="Название задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="210" Margin="50,10,0,5"/>
|
|
|
- <TextBox x:Name="TaskNameTB" Height="35" Width="700" FontSize="30" FontFamily="Comic Sans Ms" Text="{Binding Title}"/>
|
|
|
+ <TextBlock Text="Название задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="210" Margin="50,0,0,5"/>
|
|
|
+ <TextBox x:Name="TaskNameTB" Width="770" Text="{Binding Title}" Style="{DynamicResource AddTaskTB}"/>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <StackPanel Orientation="Vertical" Width="375">
|
|
|
+ <StackPanel Orientation="Vertical" Width="410">
|
|
|
<TextBlock Text="Описание задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="220" Margin="50,10,0,5"/>
|
|
|
- <TextBox x:Name="TaskDescriptionTB" Text="{Binding Description}" Height="205" Width="340" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="25,0,0,0" FontSize="25" FontFamily="Comic Sans Ms"/>
|
|
|
+ <TextBox x:Name="TaskDescriptionTB" Text="{Binding Description}" Height="215" Width="370" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="25,0,0,0" Style="{DynamicResource AddTaskTB}" VerticalContentAlignment="Top"/>
|
|
|
</StackPanel>
|
|
|
- <StackPanel Width="375" Orientation="Vertical">
|
|
|
+ <StackPanel Width="410" Orientation="Vertical">
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
<TextBlock Text="Cтатус задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="220" Margin="40,10,0,5"/>
|
|
|
- <ComboBox x:Name="CmbStatus" Text="{Binding Status}" DisplayMemberPath="Name" Height="35" Width="340" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
+ <ComboBox x:Name="CmbStatus" Text="{Binding Status}" DisplayMemberPath="Name" Height="35" Width="370" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
<TextBlock Text="Характер задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="220" Margin="40,10,0,5"/>
|
|
|
- <ComboBox x:Name="CmbTaskType" Text="{Binding WorkType}" DisplayMemberPath="Name" Height="35" Width="340" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
+ <ComboBox x:Name="CmbTaskType" Text="{Binding WorkType}" DisplayMemberPath="Name" Height="35" Width="370" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
<TextBlock Text="Сложность задачи:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="220" Margin="40,10,0,5"/>
|
|
|
- <TextBox x:Name="DifficultyTB" Text="{Binding Difficulty}" Height="35" Width="340" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
+ <TextBox x:Name="DifficultyTB" Text="{Binding Difficulty}" Width="370" Style="{DynamicResource AddTaskTB}" HorizontalAlignment="Left" Margin="10,0,0,0"/>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
|
|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
<TextBlock Text="Исполнитель:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="220" Margin="50,10,0,5"/>
|
|
|
- <ComboBox x:Name="CmbExecutor" Text="{Binding ExecutorID}" DisplayMemberPath="ID" Height="35" Width="700" HorizontalAlignment="Left" Margin="25,0,0,0"/>
|
|
|
+ <ComboBox x:Name="CmbExecutor" Text="{Binding ExecutorID}" DisplayMemberPath="ID" Height="35" Width="770" HorizontalAlignment="Left" Margin="25,0,0,0"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
@@ -54,7 +54,7 @@
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Vertical" Width="250">
|
|
|
<TextBlock Text="Время выполнения:" FontSize="25" FontFamily="Comic Sans Ms" Foreground="#52a8ff" HorizontalAlignment="Left" Width="240" Margin="10,10,0,5"/>
|
|
|
- <TextBox x:Name="TimeTB" Text="{Binding Time}" Margin="10,0,25,0" Height="35" FontSize="30" FontFamily="Comic Sans Ms"/>
|
|
|
+ <TextBox x:Name="TimeTB" Text="{Binding Time}" Margin="10,0,25,0" Style="{DynamicResource AddTaskTB}"/>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|