Make nav buttons borderless and realign rail button offset
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user