Make nav buttons borderless and realign rail button offset

This commit is contained in:
Meik
2026-03-05 11:36:18 +01:00
parent 21081bbf4b
commit ee165ce0f6
2 changed files with 23 additions and 22 deletions

View File

@@ -623,6 +623,7 @@ namespace C4IT_CustomerPanel
private void RefreshTrayMenu(bool ActivateFirstEntry)
{
var TopMarginCount = 0;
const int railTopOffset = 10;
foreach (var entry in MainFunctionButtons)
{
try
@@ -632,7 +633,7 @@ namespace C4IT_CustomerPanel
if (isVisible)
{
Info.button.Visibility = Visibility.Visible;
Info.button.Margin = new Thickness(0, 70 * TopMarginCount, 0, 0);
Info.button.Margin = new Thickness(0, railTopOffset + (70 * TopMarginCount), 0, 0);
TopMarginCount++;
}
else