diff --git a/BeWo/View/BeWoWindow.xaml b/BeWo/View/BeWoWindow.xaml index 981fccac6..9d01b83c7 100644 --- a/BeWo/View/BeWoWindow.xaml +++ b/BeWo/View/BeWoWindow.xaml @@ -1,15 +1,22 @@ - + - - - + diff --git a/BeWo/View/BeWoWindowBuilder.cs b/BeWo/View/BeWoWindowBuilder.cs index 9e593b68c..78b14db8a 100644 --- a/BeWo/View/BeWoWindowBuilder.cs +++ b/BeWo/View/BeWoWindowBuilder.cs @@ -12,7 +12,7 @@ namespace BeWo.View { public static class BeWoWindowBuilder { - public static BeWoWindow GetTextViewer(string title, string text, bool fixed_size = false, double height = 600, double width = 400) + public static BeWoWindow GetTextViewer(string title, string text, bool fixed_size = false, double height = 600, double width = 600) { if (fixed_size) return GetTextViewer(title, text, height, height, height, width, width, width); @@ -36,11 +36,12 @@ namespace BeWo.View return beWoWindow; } - public static BeWoWindow GetGkvAbrechnungDetailWindow(GkvAbrechnungVM vM, double height = 800, double width = 600) + public static BeWoWindow GetGkvAbrechnungDetailWindow(GkvAbrechnungVM vM, double height = 800, double width = 900) { - var detail = new GkvAbrechnungDetailControl(vM); - var beWoWindow = GetGenericBeWoWindow("GKV-Abrechnung Nr. " + vM.GkvAbrechnungOid + ": Details", 100, height, 1000, 400, width, 1600); + + var detail = new GkvAbrechnungDetailControl(vM, beWoWindow); + beWoWindow.GroupBoxContent = detail; return beWoWindow; diff --git a/BeWo/View/Controls/GkvAbrechnungDetailControl.xaml b/BeWo/View/Controls/GkvAbrechnungDetailControl.xaml index c69e46851..9f1f7e242 100644 --- a/BeWo/View/Controls/GkvAbrechnungDetailControl.xaml +++ b/BeWo/View/Controls/GkvAbrechnungDetailControl.xaml @@ -352,6 +352,11 @@ FieldName="IKKostentrager" Header="Kostentrager" ReadOnly="True" /> + + + + + + + +