diff --git a/StructureHelper/Windows/Forces/InterpolateTuplesView.xaml b/StructureHelper/Windows/Forces/InterpolateTuplesView.xaml
index d11094c..5c675b7 100644
--- a/StructureHelper/Windows/Forces/InterpolateTuplesView.xaml
+++ b/StructureHelper/Windows/Forces/InterpolateTuplesView.xaml
@@ -8,9 +8,12 @@
xmlns:uc="clr-namespace:StructureHelper.Windows.UserControls"
d:DataContext="{d:DesignInstance vm:InterpolateTuplesViewModel}"
mc:Ignorable="d"
- Title="Interpolate Combinations" Height="200" Width="500" MinHeight="180" MinWidth="500" WindowStartupLocation="CenterScreen">
+ Title="Interpolate Combinations" Height="200" Width="400" MinHeight="180" MinWidth="400" WindowStartupLocation="CenterScreen">
+
@@ -20,7 +23,7 @@
-
+
@@ -28,11 +31,12 @@
+
-
+
@@ -45,22 +49,61 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
+
diff --git a/StructureHelper/Windows/ViewModels/Forces/InterpolateTuplesViewModel.cs b/StructureHelper/Windows/ViewModels/Forces/InterpolateTuplesViewModel.cs
index 26e5b82..86805fe 100644
--- a/StructureHelper/Windows/ViewModels/Forces/InterpolateTuplesViewModel.cs
+++ b/StructureHelper/Windows/ViewModels/Forces/InterpolateTuplesViewModel.cs
@@ -16,8 +16,8 @@ namespace StructureHelper.Windows.ViewModels.Forces
private RelayCommand copyToStartCommand;
private RelayCommand copyToFinishCommand;
- public IDesignForceTuple StartDesignForce { get; private set; }
- public IDesignForceTuple FinishDesignForce { get; private set; }
+ public IDesignForceTuple StartDesignForce { get; set; }
+ public IDesignForceTuple FinishDesignForce { get; set; }
public bool StepCountVisible { get; set; }
public double StartMx
@@ -115,6 +115,7 @@ namespace StructureHelper.Windows.ViewModels.Forces
public void RefreshFinishTuple()
{
+ OnPropertyChanged(nameof(FinishDesignForce));
OnPropertyChanged(nameof(FinishMx));
OnPropertyChanged(nameof(FinishMy));
OnPropertyChanged(nameof(FinishNz));
@@ -122,6 +123,7 @@ namespace StructureHelper.Windows.ViewModels.Forces
public void RefreshStartTuple()
{
+ OnPropertyChanged(nameof(StartDesignForce));
OnPropertyChanged(nameof(StartMx));
OnPropertyChanged(nameof(StartMy));
OnPropertyChanged(nameof(StartNz));
@@ -146,6 +148,7 @@ namespace StructureHelper.Windows.ViewModels.Forces
}
FinishDesignForce = finishDesignForce;
StepCount = stepCount;
+ StepCountVisible = true;
}
}
}