Comments (3)
间距约束设好,两个按钮等宽就行了。
from whc_autolayoutkit.
@hongdong 方便贴一下代码吗
from whc_autolayoutkit.
commitBtn.whc_LeftSpace(20).whc_Height(50).whc_RightSpaceToView(20,resetBtn).whc_Centery(0);
resetBtn.whc_RightSpace(20).whc_Height(50).whc_WidthEqualToView(commitBtn).whc_Centery(0);
from whc_autolayoutkit.
Related Issues (20)
- 我要设置 width >= 100 && width <= 200 的约束 怎么办? HOT 1
- iphonex safearea HOT 1
- 在ipad上布局不对 HOT 5
- 我想问下我想横向或者纵向居中怎么弄? HOT 1
- 是否兼容 masonry? HOT 2
- tabelViewCell的算高方式? HOT 1
- iOS9、 iOS10 StactView布局在UITableViewCell上应用不能正确展示,iOS12上没有任何警告并显示正常 HOT 2
- whc_TopSpaceToView 内存没法释放?dealloc没有走 HOT 8
- 使用了autoheight之后多次reloaddata行高不断增加 HOT 4
- MLeaksFinder检测到内存泄漏,如下图 HOT 1
- 当Label 设置圆角时再设置宽度自动时,宽度不太够,看起来有点丑 HOT 1
- Can i make constraint like this: viewA.top = viewB.centerY + 10 ??
- cell如果是xib的话如何自动计算高度 HOT 1
- 2.8.6版本pod不了? HOT 1
- 最新版把这个#import "UITableViewCell+WHC_AutoHeightForCell.h"去掉了 HOT 2
- 最近开始用这个库、发现了几个问题、不知道是不是我使用的姿势不对 HOT 1
- WHC_AutoLayoutKit_Swift2_3 HOT 4
- 你好,我用WHC_StackView添加label做评论回复,数量多了会卡顿,请问有解决方法吗? HOT 3
- 关于+ (CGFloat)whc_CellHeightForIndexPath:(NSIndexPath *)indexPath tableView:(UITableView *)tableView identifier:(NSString *)identifier layoutBlock:(void (^)(UITableViewCell * cell))block; HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whc_autolayoutkit.