--- a/VerticalPanelView.st Thu Apr 25 19:16:52 1996 +0200
+++ b/VerticalPanelView.st Thu Apr 25 19:26:41 1996 +0200
@@ -40,39 +40,39 @@
redefined here.
The layout is controlled by the instance variables:
- horizontalLayout and verticalLayout
+ horizontalLayout and verticalLayout
in addition to
- horizontalSpace and verticalSpace.
+ horizontalSpace and verticalSpace.
The vertical layout can be any of:
- #top arrange elements at the top
- #topSpace arrange elements at the top, start with spacing
- #bottom arrange elements at the bottom
- #bottomSpace arrange elements at the bottom, start with spacing
- #center arrange elements in the center; ignore verticalSpace
- #spread spread elements evenly; ignore verticalSpace
- #spreadSpace spread elements evenly with spacing at ends; ignore verticalSpace
- #fit like #spread, but resize elements for tight packing; ignore verticalSpace
- #fitSpace like #fit, with spacing; ignore verticalSpace
- #topFit like #top, but extend the last element to the bottom
- #topSpaceFit like #topSpace, but extend the last element to the bottom
+ #top arrange elements at the top
+ #topSpace arrange elements at the top, start with spacing
+ #bottom arrange elements at the bottom
+ #bottomSpace arrange elements at the bottom, start with spacing
+ #center arrange elements in the center; ignore verticalSpace
+ #spread spread elements evenly; ignore verticalSpace
+ #spreadSpace spread elements evenly with spacing at ends; ignore verticalSpace
+ #fit like #spread, but resize elements for tight packing; ignore verticalSpace
+ #fitSpace like #fit, with spacing; ignore verticalSpace
+ #topFit like #top, but extend the last element to the bottom
+ #topSpaceFit like #topSpace, but extend the last element to the bottom
the horizontal layout can be:
- #left place element at the left
- #leftSpace place element at the left, offset by horizontalSpace
- #center place elements horizontally centered; ignore horizontalSpace
- #right place it at the right
- #rightSpace place it at the right, offset by horizontalSpace
- #fit resize elements horizontally to fit this panel; ignore horizontalSpace
- #fitSpace like #fit, but add spacing; ignore horizontalSpace
+ #left place element at the left
+ #leftSpace place element at the left, offset by horizontalSpace
+ #center place elements horizontally centered; ignore horizontalSpace
+ #right place it at the right
+ #rightSpace place it at the right, offset by horizontalSpace
+ #fit resize elements horizontally to fit this panel; ignore horizontalSpace
+ #fitSpace like #fit, but add spacing; ignore horizontalSpace
- #leftMax like #left, but resize elements to max of them
- #leftSpaceMax like #leftSpace, but resize elements
- #centerMax like #center, but resize elements
- #rightMax like #right, but resize elements to max of them
- #rightSpaceMax like #rightSpace, but resize elements
+ #leftMax like #left, but resize elements to max of them
+ #leftSpaceMax like #leftSpace, but resize elements
+ #centerMax like #center, but resize elements
+ #rightMax like #right, but resize elements to max of them
+ #rightSpaceMax like #rightSpace, but resize elements
The defaults is #center for both directions.
@@ -93,6 +93,14 @@
as time went by, more layouts were added and the setup should be changed
to use different selectors for space, max-resize and alignment
(i.e. having more and more layout symbols makes things a bit confusing ...)
+
+ [see also:]
+ HorizontalPanelView
+ VariableVerticalPanel VariableHorizontalPanel
+ Label
+
+ [author:]
+ Claus Gittinger
"
!
@@ -931,5 +939,5 @@
!VerticalPanelView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/VerticalPanelView.st,v 1.20 1996-02-22 20:27:08 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/VerticalPanelView.st,v 1.21 1996-04-25 17:25:35 cg Exp $'
! !