commentary
authorClaus Gittinger <cg@exept.de>
Wed, 26 Mar 1997 15:42:08 +0100
changeset 1156 4f0db7433c78
parent 1155 1075b52c32a9
child 1157 33ed50527a8a
commentary
HPanelV.st
HorizontalPanelView.st
--- a/HPanelV.st	Tue Mar 25 14:01:23 1997 +0100
+++ b/HPanelV.st	Wed Mar 26 15:42:08 1997 +0100
@@ -939,27 +939,36 @@
 horizontalLayout:aSymbol
     "change the horizontal layout as symbol.
      The argument, aSymbol must be one of:
-	#left           arrange elements at the left
-	#leftSpace      arrange elements at the left, start with spacing
-	#fixLeft        same as #left, but do not reduce spacing in case of no fit
-	#fixLeftSpace   same as #leftSpace, but do not reduce spacing in case of no fit
-	#right          arrange elements at the right
-	#rightSpace     arrange elements at the right, start with spacing
-	#center         arrange elements in the center
-	#spread         spread elements evenly
-	#spreadSpace    spread elements evenly with spacing at the ends
-	#fit            like #spread, but resize elements for tight packing
-	#fitSpace       like #fit, with additional spacing at the far ends
-	#leftFit        like #left, but extend the last element to the right
-	#leftSpaceFit   like #leftSpace, but extend the last element to the right
+        #left           arrange elements at the left
+        #leftSpace      arrange elements at the left, start with spacing
+        #fixLeft        same as #left, but do not reduce spacing in case of no fit
+        #fixLeftSpace   same as #leftSpace, but do not reduce spacing in case of no fit
+        #right          arrange elements at the right
+        #rightSpace     arrange elements at the right, start with spacing
+        #center         arrange elements in the center
+        #spread         spread elements evenly
+        #spreadSpace    spread elements evenly with spacing at the ends
+        #fit            like #spread, but resize elements for tight packing
+        #fitSpace       like #fit, with additional spacing at the far ends
+        #leftFit        like #left, but extend the last element to the right
+        #leftSpaceFit   like #leftSpace, but extend the last element to the right
+        #leftMax        like non-Max layouts, resizing components to
+        #leftSpaceMax   the width of the widest component
+        #rightMax
+        #rightSpaceMax
+        #centerMax
+        #spreadMax
+        #spreadSpaceMax
       the default (if never changed) is #center.
       See the class documentation for  the meanings.
     "
 
     (hLayout ~~ aSymbol) ifTrue:[
-	hLayout := aSymbol.
-	self layoutChanged
+        hLayout := aSymbol.
+        self layoutChanged
     ]
+
+    "Modified: 26.3.1997 / 15:41:16 / cg"
 !
 
 layout
@@ -1364,5 +1373,5 @@
 !HorizontalPanelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/Attic/HPanelV.st,v 1.29 1997-02-25 13:03:31 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/Attic/HPanelV.st,v 1.30 1997-03-26 14:42:08 cg Exp $'
 ! !
--- a/HorizontalPanelView.st	Tue Mar 25 14:01:23 1997 +0100
+++ b/HorizontalPanelView.st	Wed Mar 26 15:42:08 1997 +0100
@@ -939,27 +939,36 @@
 horizontalLayout:aSymbol
     "change the horizontal layout as symbol.
      The argument, aSymbol must be one of:
-	#left           arrange elements at the left
-	#leftSpace      arrange elements at the left, start with spacing
-	#fixLeft        same as #left, but do not reduce spacing in case of no fit
-	#fixLeftSpace   same as #leftSpace, but do not reduce spacing in case of no fit
-	#right          arrange elements at the right
-	#rightSpace     arrange elements at the right, start with spacing
-	#center         arrange elements in the center
-	#spread         spread elements evenly
-	#spreadSpace    spread elements evenly with spacing at the ends
-	#fit            like #spread, but resize elements for tight packing
-	#fitSpace       like #fit, with additional spacing at the far ends
-	#leftFit        like #left, but extend the last element to the right
-	#leftSpaceFit   like #leftSpace, but extend the last element to the right
+        #left           arrange elements at the left
+        #leftSpace      arrange elements at the left, start with spacing
+        #fixLeft        same as #left, but do not reduce spacing in case of no fit
+        #fixLeftSpace   same as #leftSpace, but do not reduce spacing in case of no fit
+        #right          arrange elements at the right
+        #rightSpace     arrange elements at the right, start with spacing
+        #center         arrange elements in the center
+        #spread         spread elements evenly
+        #spreadSpace    spread elements evenly with spacing at the ends
+        #fit            like #spread, but resize elements for tight packing
+        #fitSpace       like #fit, with additional spacing at the far ends
+        #leftFit        like #left, but extend the last element to the right
+        #leftSpaceFit   like #leftSpace, but extend the last element to the right
+        #leftMax        like non-Max layouts, resizing components to
+        #leftSpaceMax   the width of the widest component
+        #rightMax
+        #rightSpaceMax
+        #centerMax
+        #spreadMax
+        #spreadSpaceMax
       the default (if never changed) is #center.
       See the class documentation for  the meanings.
     "
 
     (hLayout ~~ aSymbol) ifTrue:[
-	hLayout := aSymbol.
-	self layoutChanged
+        hLayout := aSymbol.
+        self layoutChanged
     ]
+
+    "Modified: 26.3.1997 / 15:41:16 / cg"
 !
 
 layout
@@ -1364,5 +1373,5 @@
 !HorizontalPanelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/HorizontalPanelView.st,v 1.29 1997-02-25 13:03:31 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/HorizontalPanelView.st,v 1.30 1997-03-26 14:42:08 cg Exp $'
 ! !