DeliveryAdminWindow: Move manual weighing button to last position

This commit is contained in:
2023-09-14 17:51:48 +02:00
parent e9e4c75edd
commit 470f092482
2 changed files with 7 additions and 7 deletions

View File

@ -76,6 +76,7 @@ namespace Elwig.Windows {
if (n >= 2) WeighingBButton.Content = $"Wiegen {App.Scales[1].ScaleId}";
if (n >= 3) WeighingCButton.Content = $"Wiegen {App.Scales[2].ScaleId}";
if (n >= 4) WeighingDButton.Content = $"Wiegen {App.Scales[3].ScaleId}";
WeighingManualButton.Margin = new Thickness(10, 10 + n * 32, 10, 10);
} else {
WeighingManualButton.Visibility = Visibility.Hidden;
WeighingAButton.Visibility = Visibility.Hidden;