UILayoutTool.st
changeset 201 b10f071028cb
parent 186 23d754f0864b
child 221 319a24a1df06
equal deleted inserted replaced
200:bae1541cda28 201:b10f071028cb
   109     "return a dictionary filled with helpKey -> helptext associations.
   109     "return a dictionary filled with helpKey -> helptext associations.
   110      These are used by the activeHelp tool.
   110      These are used by the activeHelp tool.
   111     "
   111     "
   112   ^ super helpSpec addPairsFrom:#(
   112   ^ super helpSpec addPairsFrom:#(
   113 
   113 
   114 #layoutTool     'tool to set the layout of the component'
       
   115 
       
   116 #originX        'absolute origin x'
       
   117 #originY        'absolute origin y'
       
   118 #cornerX        'absolute corner x'
       
   119 #cornerY        'absolute corner y'
       
   120 
       
   121 #leftRelative   'relative origin x'
       
   122 #topRelative    'relative origin y'
       
   123 
       
   124 #leftAbsolute
   114 #leftAbsolute
   125 'offset of the left edge; positive
   115 'offset of the left edge; positive
   126 is to the right, negative to the left'
   116 is to the right, negative to the left'
   127 
   117 
       
   118 #originY
       
   119 'absolute origin y'
       
   120 
       
   121 #cornerY
       
   122 'absolute corner y'
       
   123 
       
   124 #makeLeftAbsolute
       
   125 'compute current left offset and relative
       
   126 origin x to an absolute origin x'
       
   127 
   128 #topAbsolute
   128 #topAbsolute
   129 'offset of the top edge; positive
   129 'offset of the top edge; positive
   130 is to the bottom, negative to the top'
   130 is to the bottom, negative to the top'
   131 
   131 
   132 #makeLeftAbsolute
   132 #makeTopRelative
   133 'compute current left offset and relative
   133 'compute current relative origin y and offset
   134 origin x to an absolute origin x'
   134 of the top edge to a relative origin y'
       
   135 
       
   136 #leftRelative
       
   137 'relative origin x'
   135 
   138 
   136 #makeLeftRelative
   139 #makeLeftRelative
   137 'compute current relative origin x and offset
   140 'compute current relative origin x and offset
   138 of the left edge to a relative origin x'
   141 of the left edge to a relative origin x'
   139 
   142 
   140 #makeTopRelative
   143 #topRelative
   141 'compute current relative origin y and offset
   144 'relative origin y'
   142 of the top edge to a relative origin y'
   145 
   143 
   146 #originX
       
   147 'absolute origin x'
       
   148 
       
   149 #cornerX
       
   150 'absolute corner x'
       
   151 
       
   152 #layoutTool
       
   153 'tool to set the layout of the component'
   144 
   154 
   145 #makeTopAbsolute
   155 #makeTopAbsolute
   146 'compute current top offset and relative
   156 'compute current top offset and relative
   147 origin y to an absolute origin y'
   157 origin y to an absolute origin y'
   148 
   158