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.
还有一种选择就是右对齐标签,这样标签和输入框的对应组合就比较明了了。
Example use of Stack Layout showing a final label.
展示最终标签的StackLayout的用法的例子。
Example use of Stack Layout showing an initial label.
展示初始标签的StackLayout的用法的例子。
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所示。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
应用推荐