Tweak width and display of receipt date
This commit is contained in:
@@ -75,6 +75,7 @@ class ReportFile : ChangeNotifier
|
|||||||
get => Path.GetFileName(_filePath);
|
get => Path.GetFileName(_filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
public bool IsFileFoundOnDisk
|
public bool IsFileFoundOnDisk
|
||||||
{
|
{
|
||||||
get => File.Exists(FilePath);
|
get => File.Exists(FilePath);
|
||||||
|
|||||||
@@ -69,11 +69,12 @@
|
|||||||
Width="*"/>
|
Width="*"/>
|
||||||
<DataGridTemplateColumn Header="Receipt Date"
|
<DataGridTemplateColumn Header="Receipt Date"
|
||||||
IsReadOnly="False"
|
IsReadOnly="False"
|
||||||
Width="*">
|
Width="125">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Label Content="{Binding ReceiptDate}"
|
<Label Content="{Binding ReceiptDate}"
|
||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"
|
||||||
|
HorizontalAlignment="Center"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
<DataGridTemplateColumn.CellEditingTemplate>
|
<DataGridTemplateColumn.CellEditingTemplate>
|
||||||
|
|||||||
Reference in New Issue
Block a user