第三个布局约束了视图相对于其父视图的开始边界。
The third layout constrains the view's leading edge relative to its superview's leading edge.
第二个布局约束了视图相对于它的父视图的开始边界。
The second layout constrains the view's leading edge relative to its superview's leading edge.
但更为重要的是,该标签是通过将其布局约束传递给父元素来定位的。
But more importantly, the label is positioned by passing its layout constraint to the parent.
第一个布局约束了视图的开始边界,它对照父视图的开始边界而设置。
The first layout constrains the view's leading edge relative to its superview's leading edge.
约束对于替代简单事件和建立布局约束来说很棒,但是它们所提供的特性远远不止这些。
Constraints are great for replacing simple events as well as for modeling layout constraints, but they offer many more features.
这使得我们可以用一个简洁的字符串来描述布局规格,而不比长篇累牍编写很多行代码来指明约束或者创建面板层次结构。
This makes the layout specification a compact string, instead of many lines of code specifying constraints or setting up hierarchies of panels.
诸如摘要信息或约束列表(位于图2的底部)之类的其他组件最适于辅助布局,因为它们的显示依赖于其他上下文设置。
Others, such as summary information or constrained list (on the bottom of figure 2), are best suited for ancillary placement because they depend on other context-setting values for their display.
该布局使用Rectangle约束来确定在何处放置子图形。
This layout USES a Rectangle constraint to determine where to place the children figures.
你只需要再增加一个约束,就又产生一个有效布局。
You need to add only a single constraint and you have a valid layout again.
参照之前的规则,该布局有两个视图,四个水平约束,以及四个垂直约束。
Following the earlier rule of thumb, this layout has two views, four horizontal constraints, and four vertical constraints.
请注意每个布局都有一个视图和两个水平约束。
Notice that each layout has one view and two horizontal constraints.
综合约束问题求解和回溯控制策略,给出了在粒度分层模型基础上的布局算法。
A layout algorithm based on the multi granularity model was proposed by adopting strategies of both constraint problem solving and backtracking.
带性能约束的航天舱布局问题可分解为有限多个子问题,每个子问题克服了关于优化变量的时断时续性。
Aircraft layout problem with performance constraints can be partitioned into finite subproblems, which overcome the on-off nature about optimal variables.
添加另外的约束,那你的布局就有冲突的风险。
Add additional constraints, and you risk introducing conflicts.
删除这些约束中的任何一个,该布局就变成了不清晰的布局。
Remove any of these constraints, and the layout becomes ambiguous.
布局优化是NP难问题,也是复杂的非线性约束优化问题。
Layout optimization is an NP-hard problem. It also belongs to complex nonlinear constrained optimization problem.
内部自动布局引擎不是设计来处理约束大规模的变化,你会看到巨大的性能问题。
The internal Auto Layout engine is not designed to handle large scale changes in constraints, and you will see massive performance issues.
由于建筑中心的核心电梯和楼梯,使平面布局不受约束。
Thanks to the fixed core with lifts and staircases at the heart of the building, there are no constraints on the layout of the apartments.
自动布局然后根据这些约束来计算每个视图的尺寸和位置。
Auto Layout then calculates the size and location of each view based on these constraints.
此方法还可以解决不连续但是有相对位置约束的模块布局问题。
This method can also handle blocks with related position constraint but not connected.
研究了二维布局优化问题,建立了具有性能约束的二维布局半无限优化模型。
The two-dimensional layout optimization problem is studied. A semi-infinite optimization model with performance constraints is presented.
它们都包含两个基本步骤:首先你需要理解基于约束的布局背后的逻辑,然后你需要学习API。
There are two basic steps: First you need to understand the logic behind constraint-based layouts, and then you need to learn the API.
Musca使用的是手动分割,意味着用户决定如何分割屏幕成非重叠的框架,没有布局上的约束。
It USES manual tiling, which means the user determines how the screen is divided into non-overlapping frames, with no restrictions on layout.
本文提出了以启发式方法和模拟退火算法相结合的混合算法,可用于带性能约束的布局优化设计问题。
A hybrid algorithm combined heuristic method and simulated annealing was presented in this paper for layout optimization with Performance constraints.
多约束环境下不规则多边形的优化布局具有一定的特殊性。
The optimal layout of irregular polygons under multi-restriction has specialties.
带平衡性约束的圆集在圆容器内的布局优化问题,属于NP困难问题。
The optimal layout problem of circle group in a circular container with performance constraints of equilibrium belong to NPhard problem.
然后,装入满足约束条件的最优货物块,完成不同大小三维矩形货物的装载布局。
Then, the three-dimensional rectangular objects of different sizes were placed to the layout space under the constraints.
针对偏置部分电路布局中的对称约束问题,本文还提出了一种处理对称约束的模拟电路布局算法symm_cbl。
The dissertation also proposes a corner block list based algorithm SYMM_CBL to handle symmetry constraints in the placement of the biasing part.
不要混淆根本不同的布局(不同的约束),用不同的计算视图帧(来自相同的约束解决)由于不同规模的内容。
Don't confuse fundamentally different layouts (different constraints) with different calculated view frames (solved from identical constraints) due to different sizes of content.
不要混淆根本不同的布局(不同的约束),用不同的计算视图帧(来自相同的约束解决)由于不同规模的内容。
Don't confuse fundamentally different layouts (different constraints) with different calculated view frames (solved from identical constraints) due to different sizes of content.
应用推荐