mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
Fix typo and spacing
This commit is contained in:
parent
1f7f4cd40f
commit
47a945603b
2 changed files with 9 additions and 9 deletions
|
@ -716,13 +716,13 @@ PACKAGE_SCOPE
|
|||
|
||||
- (void) updateConstraintsForSubtreeIfNeeded;
|
||||
|
||||
- (NSLayoutPriority)contentHuggingPriorityForOrientation:(NSLayoutConstraintOrientation)orientation;
|
||||
- (NSLayoutPriority) contentHuggingPriorityForOrientation: (NSLayoutConstraintOrientation)orientation;
|
||||
|
||||
- (void)setContentHuggingPriority:(NSLayoutPriority)priority forOrientation:(NSLayoutConstraintOrientation)orientation;
|
||||
- (void) setContentHuggingPriority: (NSLayoutPriority)priority forOrientation: (NSLayoutConstraintOrientation)orientation;
|
||||
|
||||
- (NSLayoutPriority)contentCompressionResistancePriorityForOrientation:(NSLayoutConstraintOrientation)orientation;
|
||||
- (NSLayoutPriority) contentCompressionResistancePriorityForOrientation: (NSLayoutConstraintOrientation)orientation;
|
||||
|
||||
- (void)setContentCompressionResistancePriority:(NSLayoutPriority)priority forOrientation:(NSLayoutConstraintOrientation)orientation;
|
||||
- (void)setContentCompressionResistancePriority: (NSLayoutPriority)priority forOrientation: (NSLayoutConstraintOrientation)orientation;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ typedef NSInteger GSLayoutViewAttribute;
|
|||
|
||||
- (void) addIntrinsicContentSizeConstraintsToView: (NSView *)view;
|
||||
|
||||
- (void) addSupportingInstrictSizeConstraintsToView: (NSView *)view
|
||||
- (void) addSupportingIntrinsicSizeConstraintsToView: (NSView *)view
|
||||
orientation:
|
||||
(NSLayoutConstraintOrientation)
|
||||
orientation
|
||||
|
@ -557,8 +557,8 @@ typedef NSInteger GSLayoutViewAttribute;
|
|||
return @"maxY";
|
||||
default:
|
||||
[[NSException exceptionWithName: @"Not handled"
|
||||
reason: @"GSLayoutAttribute not handled"
|
||||
userInfo: nil] raise];
|
||||
reason: @"GSLayoutAttribute not handled"
|
||||
userInfo: nil] raise];
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
@ -926,14 +926,14 @@ typedef NSInteger GSLayoutViewAttribute;
|
|||
if (intrinsicContentSize.height != NSViewNoIntrinsicMetric)
|
||||
{
|
||||
[self
|
||||
addSupportingInstrictSizeConstraintsToView: view
|
||||
addSupportingIntrinsicSizeConstraintsToView: view
|
||||
orientation: NSLayoutConstraintOrientationVertical
|
||||
intrinsicSizeAttribute: GSLayoutViewAttributeIntrinsicHeight
|
||||
dimensionAttribute: GSLayoutAttributeHeight];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) addSupportingInstrictSizeConstraintsToView: (NSView *)view
|
||||
- (void) addSupportingIntrinsicSizeConstraintsToView: (NSView *)view
|
||||
orientation: (NSLayoutConstraintOrientation)orientation
|
||||
intrinsicSizeAttribute: (GSLayoutViewAttribute)intrinsicSizeAttribute
|
||||
dimensionAttribute: (GSLayoutAttribute)dimensionAttribute
|
||||
|
|
Loading…
Reference in a new issue