UILayoutTool.st
changeset 714 61d4a7df2574
parent 690 a1033b88a8e8
child 741 c94606aecebf
equal deleted inserted replaced
713:f94e58bb44ac 714:61d4a7df2574
   114     "
   114     "
   115 
   115 
   116   ^ super helpSpec addPairsFrom:#(
   116   ^ super helpSpec addPairsFrom:#(
   117 
   117 
   118 #leftAbsolute
   118 #leftAbsolute
   119 'offset of the left edge; positive is to the right, negative to the left'
   119 'Offset of the left edge; positive is to the right, negative to the left.'
   120 
   120 
   121 #originY
   121 #originY
   122 'absolute origin y'
   122 'Absolute origin y of the selected widget.'
   123 
   123 
   124 #cornerY
   124 #cornerY
   125 'absolute corner y'
   125 'Absolute corner y of the selected widget.'
   126 
   126 
   127 #makeLeftAbsolute
   127 #makeLeftAbsolute
   128 'compute current left offset and relative origin x to an absolute origin x'
   128 'Computes current left offset and relative origin x to an absolute origin x.'
   129 
   129 
   130 #topAbsolute
   130 #topAbsolute
   131 'offset of the top edge; positive is to the bottom, negative to the top'
   131 'Offset of the top edge; positive is to the bottom, negative to the top.'
   132 
   132 
   133 #makeTopRelative
   133 #makeTopRelative
   134 'compute current relative origin y and offset of the top edge to a relative origin y'
   134 'Computes current relative origin y and offset of the top edge to a relative origin y.'
   135 
   135 
   136 #leftRelative
   136 #leftRelative
   137 'relative origin x'
   137 'Relative origin x of the selected widget.'
   138 
   138 
   139 #makeLeftRelative
   139 #makeLeftRelative
   140 'compute current relative origin x and offset of the left edge to a relative origin x'
   140 'Compute current relative origin x and offset of the left edge to a relative origin x.'
   141 
   141 
   142 #topRelative
   142 #topRelative
   143 'relative origin y'
   143 'Relative origin y of the selected widget.'
   144 
   144 
   145 #originX
   145 #originX
   146 'absolute origin x'
   146 'Absolute origin x of the selected widget.'
   147 
   147 
   148 #cornerX
   148 #cornerX
   149 'absolute corner x'
   149 'Absolute corner x of the selected widget.'
   150 
   150 
   151 #layoutTool
   151 #layoutTool
   152 'tool to set the layout of the component'
   152 'Tool to set the layout of the selected widget.'
   153 
   153 
   154 #makeTopAbsolute
   154 #makeTopAbsolute
   155 'compute current top offset and relative origin y to an absolute origin y'
   155 'Computes current top offset and relative origin y to an absolute origin y.'
   156 
   156 
   157 )
   157 )
   158 ! !
   158 ! !
   159 
   159 
   160 !UILayoutTool class methodsFor:'interface specs'!
   160 !UILayoutTool class methodsFor:'interface specs'!
   725     "
   725     "
   726 
   726 
   727   ^ super helpSpec addPairsFrom:#(
   727   ^ super helpSpec addPairsFrom:#(
   728 
   728 
   729 #alignLeftCenter
   729 #alignLeftCenter
   730 'align components leftCenter to location'
   730 'Aligns the selected widget leftCenter to location.'
   731 
   731 
   732 #alignBottomCenter
   732 #alignBottomCenter
   733 'align components bottomCenter to location'
   733 'Aligns the selected widget bottomCenter to location.'
   734 
   734 
   735 #alignHorizontal
   735 #alignHorizontal
   736 'horizontal inset to the location point of the component'
   736 'Horizontal inset to the location point of the selected widget.'
   737 
   737 
   738 #alignBottomRight
   738 #alignBottomRight
   739 'align components bottomRight to location'
   739 'Aligns the selected widget bottomRight to location.'
   740 
   740 
   741 #alignTopCenter
   741 #alignTopCenter
   742 'align components topCenter to location'
   742 'Aligns the selected widget topCenter to location.'
   743 
   743 
   744 #alignTopLeft
   744 #alignTopLeft
   745 'align components topLeft to location'
   745 'Aligns the selected widget topLeft to location.'
   746 
   746 
   747 #alignTopRight
   747 #alignTopRight
   748 'align components topRight to location'
   748 'Aligns the selected widget topRight to location.'
   749 
   749 
   750 #alignCenter
   750 #alignCenter
   751 'align components center to location'
   751 'Aligns the selected widget center to location.'
   752 
   752 
   753 #alignVertical
   753 #alignVertical
   754 'vertical inset to the location point of the component'
   754 'Vertical inset to the location point of the widget.'
   755 
   755 
   756 #alignBottomLeft
   756 #alignBottomLeft
   757 'align components bottomLeft to location'
   757 'Aligns the selected widget bottomLeft to location.'
   758 
   758 
   759 #alignRightCenter
   759 #alignRightCenter
   760 'align components rightCenter to location'
   760 'Aligns the selected widget rightCenter to location.'
   761 
   761 
   762 )
   762 )
   763 ! !
   763 ! !
   764 
   764 
   765 !UILayoutTool::AlignmentOrigin class methodsFor:'interface specs'!
   765 !UILayoutTool::AlignmentOrigin class methodsFor:'interface specs'!
  1055     "
  1055     "
  1056 
  1056 
  1057   ^ super helpSpec addPairsFrom:#(
  1057   ^ super helpSpec addPairsFrom:#(
  1058 
  1058 
  1059 #vrtExtent
  1059 #vrtExtent
  1060 'vertical extent of the component'
  1060 'Vertical extent of the selected widget.'
  1061 
  1061 
  1062 #hrzExtent
  1062 #hrzExtent
  1063 'horizontal extent of the component'
  1063 'Horizontal extent of the selected widget.'
  1064 
  1064 
  1065 )
  1065 )
  1066 ! !
  1066 ! !
  1067 
  1067 
  1068 !UILayoutTool::Extent class methodsFor:'interface specs'!
  1068 !UILayoutTool::Extent class methodsFor:'interface specs'!
  1165     "
  1165     "
  1166 
  1166 
  1167   ^ super helpSpec addPairsFrom:#(
  1167   ^ super helpSpec addPairsFrom:#(
  1168 
  1168 
  1169 #makeRightRelative
  1169 #makeRightRelative
  1170 'compute current relative corner x and offset of the right edge to a relative corner x'
  1170 'Computes current relative corner x and offset of the right edge to a relative corner x.'
  1171 
  1171 
  1172 #makeBottomAbsolute
  1172 #makeBottomAbsolute
  1173 'compute current bottom offset and relative corner y to an absolute corner y'
  1173 'Computes current bottom offset and relative corner y to an absolute corner y.'
  1174 
  1174 
  1175 #bottomAbsolute
  1175 #bottomAbsolute
  1176 'offset of the bottom edge; positive is to the bottom, negative to the top'
  1176 'Offset of the bottom edge; positive is to the bottom, negative to the top.'
  1177 
  1177 
  1178 #rightRelative
  1178 #rightRelative
  1179 'relative corner x'
  1179 'Relative corner x of the selected widget.'
  1180 
  1180 
  1181 #makeBottomRelative
  1181 #makeBottomRelative
  1182 'compute current relative corner y and offset of the bottom edge to a relative corner y'
  1182 'Computes current relative corner y and offset of the bottom edge to a relative corner y.'
  1183 
  1183 
  1184 #makeRightAbsolute
  1184 #makeRightAbsolute
  1185 'compute current right offset and relative corner x to an absolute corner x'
  1185 'Computes current right offset and relative corner x to an absolute corner x.'
  1186 
  1186 
  1187 #bottomRelative
  1187 #bottomRelative
  1188 'relative corner y'
  1188 'Relative corner y of the selected widget.'
  1189 
  1189 
  1190 #rightAbsolute
  1190 #rightAbsolute
  1191 'offset of the right edge; positive is to the right, negative to the left'
  1191 'Offset of the right edge; positive is to the right, negative to the left.'
  1192 
  1192 
  1193 )
  1193 )
  1194 ! !
  1194 ! !
  1195 
  1195 
  1196 !UILayoutTool::LayoutFrame class methodsFor:'interface specs'!
  1196 !UILayoutTool::LayoutFrame class methodsFor:'interface specs'!