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
This is a cool popup menu, I like it, and I will use it in my project.
But when I add my icon image(size 18 pixel) to PopMenuDefaultAction, It looks ugly. The image is much bigger than I expected. So I looked at the source code and found a problem.
PopMenuDefaultAction.iconWidthHeight is a static property, I think it should be automatically calculated.
This is a cool popup menu, I like it, and I will use it in my project.
But when I add my icon image(size 18 pixel) to PopMenuDefaultAction, It looks ugly. The image is much bigger than I expected. So I looked at the source code and found a problem.
PopMenuDefaultAction.iconWidthHeight
is a static property, I think it should be automatically calculated.iconImageView.widthAnchor
andiconImageView.heightAnchor
should be automatically calculated based on the size of the image.Now I am using a custom
PopMenuAction
namedPopMenuCustomAction
and modifyingPopMenuDefaultAction.iconWidthHeight
to 18 to resolve my problem.Please fix this issue, Thanks.
The text was updated successfully, but these errors were encountered: