Consider again the case of a VBox, a vertical-layout container.
再次以VBox为例,这是一个垂直排列的容器。
The transformations that get applied here are those of VBox matrix.
在这里,将对VBox矩阵进行转换。
Thus by stacking three HBox instances inside a VBox, you get a flexible grid.
这样,通过在一个VBox内堆叠三个HBox实例,就得到一个灵活的网格。
In our VBox, we'd like to see three child components aligned vertically, as shown in Figure 4.
在我们的VBox,我们希望看到三个垂直对齐的子组件,如图4中所示。
Let's look at an example that relies on the VBox again. Listing 8 creates a label inside a VBox.
让我们再看看一个基于VBox的例子。
The VBox is a container, and it will lay out its contents in a vertical fashion from top to bottom.
VBox是一个容器,它将以从上到下的垂直方式铺设内容。
The VBox widget used in this example is a type of layout widget that stacks its children vertically.
在这个示例中使用的VBox部件是一种布局部件,它垂直地排列子部件。
In this case, you're asking for the precise global location of (40, 30), which is a point in the VBox.
在这个例子中,您要求获得VBox中的一个点(40,30)的精确全局位置。
If you don't assign height or width values to your VBox, then it resizes every time you add a child to it.
如果您没有给VBox分配height或width值,它就在每次添加子容器时重新调整大小。
As its name suggests, HBox is similar to VBox, but it lays out its contents horizontally, from left to right.
从名称可以看出,HBox类似于VBox,但它是从左到右水平放置内容的。
With your application shell created, you can move on and populate your VBox control with some status updates from an XML file.
在创建了应用程序的外观之后,您可以使用来自 XML 文件的一些状态更新填充VBox 控件。
Many of the tags provide invisible structure: toolbox, hbox, and Vbox are container tags that affect layout of their collected elements (for example, "Vbox" is short for "vertical box").
在这些标签中,很多都提供了不可见的结构:toolbox、hbox和vbox是容器标签,可以对它们所包含的元素的布局产生影响(比如说,“vbox”是“verticalbox”的简写)。
Many of the tags provide invisible structure: toolbox, hbox, and Vbox are container tags that affect layout of their collected elements (for example, "Vbox" is short for "vertical box").
在这些标签中,很多都提供了不可见的结构:toolbox、hbox和vbox是容器标签,可以对它们所包含的元素的布局产生影响(比如说,“vbox”是“verticalbox”的简写)。
应用推荐