You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately we can't change the property type of the "VisibilityProperty" in order to keep binary compatibility (unless we introduce a different property, but that's somewhat clunky).
However, I can add some documentation to the property, so hopefully that alleviates the problem.
No, the property type is fine (just like NSStackView.VisibilityPriority also is of type float), but maybe the constants could be specified somewhere, like this:
public enum NSToolbarItemVisibilityPriority : int
{
Standard = 0,
Low = -1000,
High = 1000,
User = 2000,
}
Apple platform
macOS
Framework version
net8.0-*
Affected platform version
.NET 8
Description
It looks like NSToolbarItemVisibilityPriority is not bound. It would be nice if it was, similar to NSStackViewVisibilityPriority.
This is used to assign visibilityPriority
Steps to Reproduce
Did you find any workaround?
I can still assign an integer, but using an enum or constant would be more explanatory.
Build logs
No response
The text was updated successfully, but these errors were encountered: