everybody!
I'm trying to resize imageview (instance of NSImageView) during resizing a window. I set constrain in IB:
- leading and trailing constraints between image view and its superview "Equal or greater 0";
- height and width constraint for imageview set to "Less then or equal 310";
- programmatically set constraints for imageview aspect ratio;
Image size is set explicitly (310x310) - content of imageView;
The problem is that when I resize my window, its width is limited to the minimum 310, although height and width constraint for imageview set to "Less then or equal 310"
So, what i want to do
Any ideas? Thanks!