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

darwinkit: fix form,layout examples: "Content hugging priorities must be positive." #187

Open
progrium opened this issue Aug 19, 2023 · 0 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@progrium
Copy link
Owner

Seems calling appkit.View#SetContentHuggingPriorityForOrientation with any value (regardless of appkit.LayoutPriority const), causes this exception. Whether value is positive or not. Int or float. Not sure what's going on here.

Maybe the next step is to write some code in Objective-C (using cgo) to call this and see if it still happens.

Until then, this is preventing form and layout examples to work and could be an issue elsewhere in bindings.

@progrium progrium added the help wanted Extra attention is needed label Aug 19, 2023
@progrium progrium added this to the 0.5.0 milestone Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant