mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Improve NSLayoutConstraint description
This commit is contained in:
parent
74afc3d88c
commit
7faefbb0dd
1 changed files with 14 additions and 0 deletions
|
@ -255,5 +255,19 @@ static NSMutableArray *activeConstraints;
|
|||
return constraint;
|
||||
}
|
||||
|
||||
- (NSString *) description
|
||||
{
|
||||
return [NSString stringWithFormat: @"%@ <firstItem = %@, firstAttribute = %ld, relation = %ld, secondItem = %@, "
|
||||
"secondAttribute = %ld, multiplier = %f, constant = %f>",
|
||||
[super description],
|
||||
_firstItem,
|
||||
_firstAttribute,
|
||||
_relation,
|
||||
_secondItem,
|
||||
_secondAttribute,
|
||||
_multiplier,
|
||||
_constant];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue