diff --git a/AppKit/CPRuleEditor/CPRuleEditor.j b/AppKit/CPRuleEditor/CPRuleEditor.j index f3b3e0726..1910d6153 100644 --- a/AppKit/CPRuleEditor/CPRuleEditor.j +++ b/AppKit/CPRuleEditor/CPRuleEditor.j @@ -1774,7 +1774,12 @@ TODO: implement - (_CPRuleEditorViewSliceRow)_createNewSliceWithFrame:(CGRect)frame ruleEditorView:(CPRuleEditor)editor { - return [[_CPRuleEditorViewSliceRow alloc] initWithFrame:frame ruleEditorView:editor]; + var slice = [[_CPRuleEditorViewSliceRow alloc] initWithFrame:frame ruleEditorView:editor]; + + // Ensure the slice resizes with the editor + [slice setAutoresizingMask:CPViewWidthSizable]; + + return slice; } - (void)_reconfigureSubviewsAnimate:(BOOL)animate