Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address margin issues on context menu. #12890

Merged
merged 1 commit into from
May 17, 2022
Merged

Conversation

reddyashish
Copy link
Contributor

Purpose

This is to address margin issues on node context menu, workspace context menu and node group context menu to fix the issue and to be consistent.

Screen Shot 2022-05-17 at 10 09 56 AM

Screen Shot 2022-05-17 at 10 09 48 AM

Screen Shot 2022-05-17 at 10 16 11 AM

Screen Shot 2022-05-17 at 10 16 15 AM

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated

Release Notes

Address margin issues on context menu.

Reviewers

@QilongTang @zeusongit

@@ -492,7 +492,7 @@
TypeInTargetAssembly={x:Type FrameworkElement}}}">
<Grid RenderOptions.ClearTypeHint="Enabled">
<ItemsPresenter x:Name="ItemsPresenter"
Margin="2"
Margin="1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why it is 1 here but 0 other places?

Copy link
Contributor Author

@reddyashish reddyashish May 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using zero was overlapping little bit and using a margin of 1 has no space between context menus. Probably some other styling is interfering.

Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @zeusongit What do you think?

@reddyashish reddyashish merged commit ccd7c01 into DynamoDS:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants