Skip to content

Commit

Permalink
Fixing horizontal center (#13312)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusalvino authored Sep 19, 2022
1 parent 6e82a27 commit 2459d0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DynamoCoreWpf/Views/FileTrust/FileTrustWarning.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ private void FindPopupPlacementTarget()
if (runSettingsViewModel.SelectedRunTypeItem.RunType == RunType.Manual)
{
popupPlacementTarget = runSettingsControl.RunButton;
double marginRight = 13;
HorizontalOffset = -((runSettingsControl.RunButton.Width / 2) - marginRight);
}
else
{
Expand Down

0 comments on commit 2459d0f

Please sign in to comment.