But more importantly, the label is positioned by passing its layout constraint to the parent.
但更为重要的是,该标签是通过将其布局约束传递给父元素来定位的。
Left-aligned labels have a tidier, clear layout and they enable users to quickly scan each label increasing the readability of the labels.
标签左对齐的表单通常有更整齐、更清晰的布局,它们能使用户快速的扫视每个标签,这增加了标签的可读性。
For example, if the earlier label displayed HTML-formatted text and the new text is plain and simple, the layout must change accordingly.
例如,如果旧的标签显示html格式的文本,而新的文本是简单的纯文本格式,那么就要相应地更改布局。
An alternative layout, right aligns the input field labels so the association between input field and label is clear.
还有一种选择就是右对齐标签,这样标签和输入框的对应组合就比较明了了。
A Grid widget is used to handle the layout for Label widgets.
使用一个Grid部件处理Label部件的布局。
Then we set the desired layout of this tree and add the tree content provider and tree label provider instance to this TreeViewer.
然后设定此树的期望布局并向此TreeViewer中添加树内容提供程序和树标签提供程序实例。
The inputTag function has a slightly different layout in that it has a nested XHTML label tag, as shown in Listing 11.
inputtag函数的布局稍有不同,因为它有一个嵌套的XHTML标签标记,如清单11所示。
The inputTag function has a slightly different layout in that it has a nested XHTML label tag, as shown in Listing 11.
inputtag函数的布局稍有不同,因为它有一个嵌套的XHTML标签标记,如清单11所示。
应用推荐