Services: Fix spacing in tool tip grids
All checks were successful
Test / Run tests (push) Successful in 2m3s
All checks were successful
Test / Run tests (push) Successful in 2m3s
This commit is contained in:
@ -242,8 +242,8 @@ namespace Elwig.Services {
|
||||
AddToolTipCell(grid, "Lieferrecht", 0, 4, 1, false, false, true);
|
||||
int rowNum = 1;
|
||||
foreach (var row in data) {
|
||||
if (rowNum == 2 || (rowNum != 1 && row.Item1 != null)) rowNum++;
|
||||
AddToolTipRow(grid, rowNum++, row.Item1, row.Item2, row.Item3, row.Item4, row.Item5);
|
||||
if (rowNum == 2) rowNum++;
|
||||
}
|
||||
return grid;
|
||||
}
|
||||
|
@ -830,8 +830,8 @@ namespace Elwig.Services {
|
||||
wGrid.ColumnDefinitions.Add(new() { Width = new(50) });
|
||||
int rowNum = 0;
|
||||
foreach (var row in weightData) {
|
||||
if (rowNum == 1 || (rowNum != 0 && row.Item1 != null)) rowNum++;
|
||||
AddWeightToolTipRow(wGrid, rowNum++, row.Item1, row.Item2, row.Item3, row.Item4, row.Item5);
|
||||
if (rowNum == 1) rowNum++;
|
||||
}
|
||||
|
||||
var gGrid = new Grid();
|
||||
@ -845,8 +845,8 @@ namespace Elwig.Services {
|
||||
AddToolTipCell(gGrid, "Max.", 0, 4, 1, false, false, true);
|
||||
rowNum = 1;
|
||||
foreach (var row in gradationData) {
|
||||
if (rowNum == 2 || (rowNum != 1 && row.Item1 != null)) rowNum++;
|
||||
AddGradationToolTipRow(gGrid, rowNum++, row.Item1, row.Item2, row.Item3, row.Item4, row.Item5);
|
||||
if (rowNum == 2) rowNum++;
|
||||
}
|
||||
|
||||
return (wGrid, gGrid);
|
||||
|
Reference in New Issue
Block a user