mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
Add implementations of methods to generate constraints
This commit is contained in:
parent
b352d55e55
commit
6fbf8530de
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@
|
|||
{
|
||||
return [NSLayoutConstraint constraintWithItem: _item
|
||||
attribute: NSLayoutAttributeLeft
|
||||
relatedBy: NSLayoutRelationEqual
|
||||
relatedBy: NSLayoutRelationLessThanOrEqual
|
||||
toItem: [anchor item]
|
||||
attribute: NSLayoutAttributeLeft
|
||||
multiplier: 1.0
|
||||
|
@ -68,7 +68,7 @@
|
|||
{
|
||||
return [NSLayoutConstraint constraintWithItem: _item
|
||||
attribute: NSLayoutAttributeLeft
|
||||
relatedBy: NSLayoutRelationLessThanOrEqual
|
||||
relatedBy: NSLayoutRelationEqual
|
||||
toItem: [anchor item]
|
||||
attribute: NSLayoutAttributeLeft
|
||||
multiplier: 1.0
|
||||
|
|
Loading…
Reference in a new issue