mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Disable autoresize mask translation for divider line views
This commit is contained in:
@@ -173,6 +173,7 @@ NSBox* OakCreateViewWithColor (NSColor* color, NSColor* secondaryColor)
|
||||
{
|
||||
OakDividerLineView* res = OakCreateDividerLineWithColor(color, secondaryColor);
|
||||
res.intrinsicContentSize = NSMakeSize(NSViewNoInstrinsicMetric, NSViewNoInstrinsicMetric);
|
||||
res.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user