Padding two
This commit is contained in:
parent
eabb0c0384
commit
bf656cffea
@ -10,7 +10,7 @@
|
||||
#import <MVMCoreUI/ViewConstrainingView.h>
|
||||
#import <MVMCoreUI/MFLabel.h>
|
||||
|
||||
@interface LabelView : ViewConstrainingView <MVMCoreUIMoleculeViewProtocol>
|
||||
@interface LabelView : ViewConstrainingView
|
||||
|
||||
// Customize the label.
|
||||
@property (nullable, weak, nonatomic) MFLabel *label;
|
||||
|
||||
@ -191,7 +191,7 @@ extension ThreeLayerViewController {
|
||||
contentView.addSubview(topSpacer)
|
||||
topSpacer.leftAnchor.constraint(equalTo: contentView.leftAnchor).isActive = true
|
||||
contentView.rightAnchor.constraint(equalTo: topSpacer.rightAnchor).isActive = true
|
||||
topSpacer.heightAnchor.constraint(greaterThanOrEqualToConstant: 0).isActive = true
|
||||
topSpacer.heightAnchor.constraint(greaterThanOrEqualToConstant: PaddingTwo).isActive = true
|
||||
topSpacer.topAnchor.constraint(equalTo: topView.bottomAnchor).isActive = true
|
||||
middleView.topAnchor.constraint(equalTo: topSpacer.bottomAnchor).isActive = true
|
||||
bottomView.topAnchor.constraint(equalTo: middleView.bottomAnchor, constant: spaceBelow).isActive = true
|
||||
@ -206,7 +206,7 @@ extension ThreeLayerViewController {
|
||||
bottomSpacer.leftAnchor.constraint(equalTo: contentView.leftAnchor).isActive = true
|
||||
contentView.rightAnchor.constraint(equalTo: bottomSpacer.rightAnchor).isActive = true
|
||||
topSpacer.heightAnchor.constraint(equalTo: bottomSpacer.heightAnchor).isActive = true
|
||||
topSpacer.heightAnchor.constraint(greaterThanOrEqualToConstant: 0).isActive = true
|
||||
topSpacer.heightAnchor.constraint(greaterThanOrEqualToConstant: PaddingTwo).isActive = true
|
||||
topSpacer.topAnchor.constraint(equalTo: topView.bottomAnchor).isActive = true
|
||||
middleView.topAnchor.constraint(equalTo: topSpacer.bottomAnchor).isActive = true
|
||||
bottomSpacer.topAnchor.constraint(equalTo: middleView.bottomAnchor).isActive = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user