浏览代码

Improved UI of notes and assignments grids

Kenric Nugteren 4 月之前
父节点
当前提交
22486aa990
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      prs.desktop/Panels/Timesheets/TimesheetPanel.xaml

+ 8 - 2
prs.desktop/Panels/Timesheets/TimesheetPanel.xaml

@@ -63,7 +63,7 @@
         </dg:DynamicSplitPanel.Master>
         <dg:DynamicSplitPanel.DetailHeader>
             <Border BorderBrush="Gray" Background="WhiteSmoke" BorderThickness="0.75">
-                <Label Content="Details" HorizontalContentAlignment="Center"/>
+                <Label Content="Notes" HorizontalContentAlignment="Center"/>
             </Border>
         </dg:DynamicSplitPanel.DetailHeader>
         <dg:DynamicSplitPanel.Detail>
@@ -71,6 +71,7 @@
                 <Grid.RowDefinitions>
                     <RowDefinition Height="*"/>
                     <RowDefinition Height="Auto"/>
+                    <RowDefinition Height="Auto"/>
                     <RowDefinition Height="*"/>
                 </Grid.RowDefinitions>
                 <local:TimesheetNotesGrid x:Name="Notes"
@@ -83,8 +84,13 @@
                     ResizeBehavior="PreviousAndNext"
                     Template="{StaticResource HorizontalSplitter}"
                     PreviewStyle="{StaticResource HorizontalSplitterPreview}"/>
+                
+                <Border BorderBrush="Gray" Background="WhiteSmoke" BorderThickness="0.75"
+                        Grid.Row="2" Margin="0,0,0,4">
+                    <Label Content="Assignments" HorizontalContentAlignment="Center"/>
+                </Border>
                 <local:TimesheetAssignmentGrid x:Name="Assignments"
-                                               Grid.Row="2"/>
+                                               Grid.Row="3"/>
             </Grid>
         </dg:DynamicSplitPanel.Detail>
     </dg:DynamicSplitPanel>