More auto layout commentary.

This commit is contained in:
Pietro Gagliardi 2016-05-01 16:26:04 -04:00
parent 896a779e1e
commit c5f6a09200
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ void layoutSingleView(NSView *superview, NSView *subview, int margined, NSString
[superview removeConstraints:[superview constraints]];
// don't hug if needed
// don't hug if needed (this fixes things like the Disabled Tab on Page 2 of the test program not being the one that resizes with the window
setHorzHuggingPri(subview, NSLayoutPriorityDefaultLow);
setVertHuggingPri(subview, NSLayoutPriorityDefaultLow);