Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4054585d authored by Harald Martini's avatar Harald Martini
Browse files

Removed window sizing based on content

parent 615daaeb
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ namespace VECTO3GUI2020.Helper
Content = viewModel,
Width = 800,
Height = 600,
SizeToContent = SizeToContent.WidthAndHeight,
WindowStartupLocation = WindowStartupLocation.CenterScreen
};
......@@ -24,7 +23,6 @@ namespace VECTO3GUI2020.Helper
}
window.Show();
window.SizeToContent = SizeToContent.Manual;
}
......
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib">
<system:Double x:Key="EditJobUserControlWidth">
<!--<system:Double x:Key="EditJobUserControlWidth">
800.0
</system:Double>
<system:Double x:Key="EditJobUserControlHeight">600</system:Double>
<system:Double x:Key="EditJobUserControlHeight">600</system:Double>-->
</ResourceDictionary>
\ No newline at end of file
......@@ -8,7 +8,6 @@
xmlns:implementation="clr-namespace:VECTO3GUI2020.ViewModel.Implementation"
xmlns:implementation1="clr-namespace:VECTO3GUI2020.ViewModel.MultiStage.Implementation"
mc:Ignorable="d"
Height="200" Width="600"
d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance implementation1:CreateVifViewModel}">
<Grid>
<DockPanel LastChildFill="False">
......
......@@ -7,7 +7,6 @@
xmlns:implementation="clr-namespace:VECTO3GUI2020.ViewModel.MultiStage.Implementation"
xmlns:system="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"
Height="{StaticResource EditJobUserControlHeight}" Width="{StaticResource EditJobUserControlWidth}"
d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance implementation:ManufacturingStageViewModel_v0_1 }">
<Grid>
<DockPanel>
......
......@@ -7,7 +7,6 @@
xmlns:implementation="clr-namespace:VECTO3GUI2020.ViewModel.MultiStage.Implementation"
xmlns:customControls="clr-namespace:VECTO3GUI2020.Views.Multistage.CustomControls"
mc:Ignorable="d"
Height="{StaticResource EditJobUserControlHeight}" Width="{StaticResource EditJobUserControlWidth}"
d:DesignHeight="450" d:DesignWidth="800" d:DataContext="{d:DesignInstance implementation:MultiStageJobViewModel_v0_1}">
<Grid>
<DockPanel>
......
......@@ -6,7 +6,6 @@
xmlns:local="clr-namespace:VECTO3GUI2020.Views.Multistage"
xmlns:implementation="clr-namespace:VECTO3GUI2020.ViewModel.MultiStage.Implementation"
xmlns:customControls="clr-namespace:VECTO3GUI2020.Views.Multistage.CustomControls"
Height="{StaticResource EditJobUserControlHeight}" Width="{StaticResource EditJobUserControlWidth}"
mc:Ignorable="d"
d:DesignHeight="450" x:Name="NewMultistageJobView" d:DesignWidth="800" d:DataContext="{d:DesignInstance implementation:NewMultiStageJobViewModel }">
<Grid>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment