The purpose of this widget is to automatically vertically aligning the widgets that are appended to it. Does not permit children absolute positioning. In order to add children to this container, use the append(child, key) function. The key have to be numeric and determines the c
| 1966 | |
| 1967 | |
| 1968 | class VBox(HBox): |
| 1969 | """The purpose of this widget is to automatically vertically aligning |
| 1970 | the widgets that are appended to it. |
| 1971 | Does not permit children absolute positioning. |
| 1972 | |
| 1973 | In order to add children to this container, use the append(child, key) function. |
| 1974 | The key have to be numeric and determines the children order in the layout. |
| 1975 | |
| 1976 | Note: If you would absolute positioning, use the Container instead. |
| 1977 | """ |
| 1978 | |
| 1979 | def __init__(self, *args, **kwargs): |
| 1980 | super(VBox, self).__init__(*args, **kwargs) |
| 1981 | self.css_flex_direction = 'column' |
| 1982 | |
| 1983 | |
| 1984 | class AsciiContainer(Container): |