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

fix: hug center now properly centered #933

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

Robert-Louis
Copy link
Contributor

GitHub Issue (If applicable): #919

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

a hug autolayout with counter alignement set to center inside a autolayout was not properly centered

What is the new behavior?

centered

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

Background = new SolidColorBrush(Color.FromArgb(255, 0, 0, 255)),
Width = 300,
Height = 300,
Padding = new Thickness(50)
Copy link
Contributor

Choose a reason for hiding this comment

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

What if we have cases with no uniform Padding?

@carldebilly carldebilly merged commit bc6ee11 into main Nov 29, 2023
24 checks passed
@carldebilly carldebilly deleted the dev/rlm/hug-center branch November 29, 2023 19:46
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.

None yet

3 participants