Use the TableColumn class to define each column width and its title, as shown in Listing 2.
使用 TableColumn 类定义每个列的宽度及其标题,如清单 2 所示。
2
For example, your application may use a series of pop-up Windows using the Ext.Window class, but these Windows will always have the same width and height values.
Listing 8 shows the complete code (slightly reformatted to fit the width), including a main method that takes the name of the class file and method to be transformed.