*** empty log message ***
authorca
Tue, 22 Jun 2004 09:38:21 +0200
changeset 1858 4a73301e4eb4
parent 1857 2265bc87dbb0
child 1859 254fc0e37550
*** empty log message ***
UILayoutTool.st
--- a/UILayoutTool.st	Mon Jun 21 10:24:34 2004 +0200
+++ b/UILayoutTool.st	Tue Jun 22 09:38:21 2004 +0200
@@ -1584,34 +1584,43 @@
 
     <resource: #help>
 
-    ^super helpSpec addPairsFrom:#(
+    ^ super helpSpec addPairsFrom:#(
 
 #bottomAbsolute
 'Offset of the bottom edge; positive is to the bottom, negative to the top.'
 
+#bigBottomFixPartLayout
+'Set layout for a big fixed area at the bottom of the widgets container'
+
 #bottomFixPartLayout
-'Set the layout for a fixed area at the bottom of the widgets containers space'
+'Set layout for a small fixed area at the bottom of the widgets container'
 
 #bottomHalfLayout
-'Set the layout for the bottom half of the widgets containers space'
+'Set layout for the bottom half of the widgets container'
 
 #bottomLeftQuarterLayout
-'Set the layout for the bottom-left quarter of the widgets containers space'
+'Set layout for the bottom-left quarter of the widgets container'
 
 #bottomRelative
 'Relative corner y of the selected widget.'
 
 #bottomRightQuarterLayout
-'Set the layout for the bottom-right quarter of the widgets containers space'
+'Set layout for the bottom-right quarter of the widgets container'
+
+#fullLayout
+'Set layout to fill all of the widgets container'
 
 #horizontalFixPartLayout
-'Set the layout for a fixed-height horizontal area'
+'Set layout for a small fixed-height area centered vertically in the widgets container'
+
+#bigHorizontalFixPartLayout
+'Set layout for a big fixed-height area centered vertically in the widgets container'
 
 #leftFixPartLayout
-'Set the layout for a fixed area at the left of the widgets containers space'
+'Set layout for a small fixed area at the left of the widgets container'
 
 #leftHalfLayout
-'Set the layout for the left half of the widgets containers space'
+'Set layout for the left half of the widgets container'
 
 #makeBottomAbsolute
 'Compute pure-absolute y.'
@@ -1620,7 +1629,7 @@
 'Computes pure-fractional y.'
 
 #makeBottomRelativeFromBottom
-'Compute fraction+offset for y relative to containers bottom.'
+'Compute fraction+offset for y relative to container.'
 
 #makeRightAbsolute
 'Compute pure-absolute x.'
@@ -1635,28 +1644,34 @@
 'Offset of the right edge; positive is to the right, negative to the left.'
 
 #rightFixPartLayout
-'Set the layout for a fixed area at the right of the widgets containers space'
+'Set layout for a small fixed area at the right of the widgets container'
 
 #rightHalfLayout
-'Set the layout for the right half of the widgets containers space'
+'Set layout for the right half of the widgets container'
 
 #rightRelative
 'Relative corner x of the selected widget.'
 
+#screenFrameLayout
+''
+
 #topFixPartLayout
-'Set the layout for a fixed area at the top of the widgets containers space'
+'Set layout for a small fixed area at the top of the widgets container'
+
+#bigTopFixPartLayout
+'Set layout for a big fixed area at the top of the widgets container'
 
 #topHalfLayout
-'Set the layout for the top half of the widgets containers space'
+'Set layout for the top half of the widgets container'
 
 #topLeftQuarterLayout
-'Set the layout for the top-left quarter of the widgets containers space'
+'Set layout for the top-left quarter of the widgets container'
 
 #topRightQuarterLayout
-'Set the layout for the top-right quarter of the widgets containers space'
+'Set layout for the top-right quarter of the widgets container'
 
 #verticalFixPartLayout
-'Set the layout for a fixed-height vertical area'
+'Set layout for a small fixed-width area centered horizontally in the widgets container'
 
 )
 ! !
@@ -2458,24 +2473,24 @@
      the MenuEditor may not be able to read the specification."
 
     "
-     MenuEditor new openOnClass:UILayoutTool::LayoutFrame andSelector:#commonFrameLayoutsMenu2
-     (Menu new fromLiteralArrayEncoding:(UILayoutTool::LayoutFrame commonFrameLayoutsMenu2)) startUp
+     MenuEditor new openOnClass:UILayoutTool::LayoutFrame andSelector:#commonFrameLayoutsMenu3
+     (Menu new fromLiteralArrayEncoding:(UILayoutTool::LayoutFrame commonFrameLayoutsMenu3)) startUp
     "
 
     <resource: #menu>
 
     ^ 
-     #(#Menu
-        #(
-         #(#MenuItem
-            #label: 'setScreenFrame'
-            #translateLabel: true
-            #isButton: true
-            #nameKey: #setScreenFrame
-            #value: #setScreenFrame
-            #activeHelpKey: #screenFrameLayout
-            #enabled: true
-            #labelImage: #(#ResourceRetriever #'UILayoutTool::LayoutFrame' #setScreenIcon)
+     #(Menu
+        (
+         (MenuItem
+            activeHelpKey: screenFrameLayout
+            label: 'setScreenFrame'
+            itemValue: setScreenFrame
+            nameKey: setScreenFrame
+            translateLabel: true
+            isButton: true
+            isVisible: false
+            labelImage: (ResourceRetriever #'UILayoutTool::LayoutFrame' setScreenIcon)
           )
          )
         nil