UILayoutTool.st
changeset 922 0a5799408f54
parent 751 b182b42defd0
child 949 2e3469100a6a
equal deleted inserted replaced
921:a5aca21ea803 922:0a5799408f54
   222                               #layout: #(#LayoutFrame 100 0 36 0 150 0 58 0)
   222                               #layout: #(#LayoutFrame 100 0 36 0 150 0 58 0)
   223                               #activeHelpKey: #leftRelative
   223                               #activeHelpKey: #leftRelative
   224                               #tabable: true
   224                               #tabable: true
   225                               #model: #leftFraction
   225                               #model: #leftFraction
   226                               #type: #numberOrNil
   226                               #type: #numberOrNil
       
   227                               #group: #inputGroup
   227                           )
   228                           )
   228                            #(#ActionButtonSpec
   229                            #(#ActionButtonSpec
   229                               #name: 'actionRelativeLeft'
   230                               #name: 'actionRelativeLeft'
   230                               #layout: #(#LayoutFrame 155 0 36 0 177 0 58 0)
   231                               #layout: #(#LayoutFrame 155 0 36 0 177 0 58 0)
   231                               #activeHelpKey: #makeLeftRelative
   232                               #activeHelpKey: #makeLeftRelative
   236                               #layout: #(#LayoutFrame 200 0 36 0 250 0 58 0)
   237                               #layout: #(#LayoutFrame 200 0 36 0 250 0 58 0)
   237                               #activeHelpKey: #leftAbsolute
   238                               #activeHelpKey: #leftAbsolute
   238                               #tabable: true
   239                               #tabable: true
   239                               #model: #leftOffset
   240                               #model: #leftOffset
   240                               #type: #numberOrNil
   241                               #type: #numberOrNil
       
   242                               #group: #inputGroup
   241                           )
   243                           )
   242                            #(#ActionButtonSpec
   244                            #(#ActionButtonSpec
   243                               #name: 'actionAbsoluteLeft'
   245                               #name: 'actionAbsoluteLeft'
   244                               #layout: #(#LayoutFrame 255 0 36 0 277 0 58 0)
   246                               #layout: #(#LayoutFrame 255 0 36 0 277 0 58 0)
   245                               #activeHelpKey: #makeLeftAbsolute
   247                               #activeHelpKey: #makeLeftAbsolute
   255                               #layout: #(#LayoutFrame 100 0 63 0 150 0 85 0)
   257                               #layout: #(#LayoutFrame 100 0 63 0 150 0 85 0)
   256                               #activeHelpKey: #topRelative
   258                               #activeHelpKey: #topRelative
   257                               #tabable: true
   259                               #tabable: true
   258                               #model: #topFraction
   260                               #model: #topFraction
   259                               #type: #numberOrNil
   261                               #type: #numberOrNil
       
   262                               #group: #inputGroup
   260                           )
   263                           )
   261                            #(#ActionButtonSpec
   264                            #(#ActionButtonSpec
   262                               #name: 'actionRelativeTop'
   265                               #name: 'actionRelativeTop'
   263                               #layout: #(#LayoutFrame 155 0 63 0 177 0 85 0)
   266                               #layout: #(#LayoutFrame 155 0 63 0 177 0 85 0)
   264                               #activeHelpKey: #makeTopRelative
   267                               #activeHelpKey: #makeTopRelative
   269                               #layout: #(#LayoutFrame 200 0 63 0 250 0 85 0)
   272                               #layout: #(#LayoutFrame 200 0 63 0 250 0 85 0)
   270                               #activeHelpKey: #topAbsolute
   273                               #activeHelpKey: #topAbsolute
   271                               #tabable: true
   274                               #tabable: true
   272                               #model: #topOffset
   275                               #model: #topOffset
   273                               #type: #numberOrNil
   276                               #type: #numberOrNil
       
   277                               #group: #inputGroup
   274                           )
   278                           )
   275                            #(#ActionButtonSpec
   279                            #(#ActionButtonSpec
   276                               #name: 'actionAbsoluteTop'
   280                               #name: 'actionAbsoluteTop'
   277                               #layout: #(#LayoutFrame 255 0 63 0 277 0 85 0)
   281                               #layout: #(#LayoutFrame 255 0 63 0 277 0 85 0)
   278                               #activeHelpKey: #makeTopAbsolute
   282                               #activeHelpKey: #makeTopAbsolute
   284                     #labelPosition: #topLeft
   288                     #labelPosition: #topLeft
   285                 )
   289                 )
   286               )
   290               )
   287           )
   291           )
   288       )
   292       )
       
   293 
       
   294     "Modified: / 29.7.1998 / 01:11:05 / cg"
   289 !
   295 !
   290 
   296 
   291 layoutPointSpec
   297 layoutPointSpec
   292     "This resource specification was automatically generated
   298     "This resource specification was automatically generated
   293      by the UIPainter of ST/X."
   299      by the UIPainter of ST/X."
   336                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
   342                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
   337                               #activeHelpKey: #originX
   343                               #activeHelpKey: #originX
   338                               #tabable: true
   344                               #tabable: true
   339                               #model: #leftOffset
   345                               #model: #leftOffset
   340                               #type: #numberOrNil
   346                               #type: #numberOrNil
       
   347                               #group: #inputGroup
   341                           )
   348                           )
   342                            #(#LabelSpec
   349                            #(#LabelSpec
   343                               #name: 'labelOriginX'
   350                               #name: 'labelOriginX'
   344                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
   351                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
   345                               #label: 'Top:'
   352                               #label: 'Top:'
   349                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
   356                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
   350                               #activeHelpKey: #originY
   357                               #activeHelpKey: #originY
   351                               #tabable: true
   358                               #tabable: true
   352                               #model: #topOffset
   359                               #model: #topOffset
   353                               #type: #numberOrNil
   360                               #type: #numberOrNil
       
   361                               #group: #inputGroup
   354                           )
   362                           )
   355                         )
   363                         )
   356                     )
   364                     )
   357                     #label: 'Origin'
   365                     #label: 'Origin'
   358                     #labelPosition: #topLeft
   366                     #labelPosition: #topLeft
   359                 )
   367                 )
   360               )
   368               )
   361           )
   369           )
   362       )
   370       )
       
   371 
       
   372     "Modified: / 29.7.1998 / 01:11:12 / cg"
   363 !
   373 !
   364 
   374 
   365 slices
   375 slices
   366     ^ #(
   376     ^ #(
   367         ( 'Frame'          LayoutFrame)
   377         ( 'Frame'          LayoutFrame)
   862                               #layout: #(#LayoutFrame 100 0 25 0 157 0 47 0)
   872                               #layout: #(#LayoutFrame 100 0 25 0 157 0 47 0)
   863                               #activeHelpKey: #alignHorizontal
   873                               #activeHelpKey: #alignHorizontal
   864                               #tabable: true
   874                               #tabable: true
   865                               #model: #leftAlignmentFraction
   875                               #model: #leftAlignmentFraction
   866                               #type: #numberOrNil
   876                               #type: #numberOrNil
       
   877                               #group: #inputGroup
   867                           )
   878                           )
   868                            #(#InputFieldSpec
   879                            #(#InputFieldSpec
   869                               #name: 'topAlignmentFractionField'
   880                               #name: 'topAlignmentFractionField'
   870                               #layout: #(#LayoutFrame 100 0 51 0 157 0 73 0)
   881                               #layout: #(#LayoutFrame 100 0 51 0 157 0 73 0)
   871                               #activeHelpKey: #alignVertical
   882                               #activeHelpKey: #alignVertical
   872                               #tabable: true
   883                               #tabable: true
   873                               #model: #topAlignmentFraction
   884                               #model: #topAlignmentFraction
   874                               #type: #numberOrNil
   885                               #type: #numberOrNil
       
   886                               #group: #inputGroup
   875                           )
   887                           )
   876                            #(#DividerSpec
   888                            #(#DividerSpec
   877                               #name: 'separator1'
   889                               #name: 'separator1'
   878                               #layout: #(#LayoutFrame 214 0 30 0 255 0 33 0)
   890                               #layout: #(#LayoutFrame 214 0 30 0 255 0 33 0)
   879                           )
   891                           )
   951                     #labelPosition: #topLeft
   963                     #labelPosition: #topLeft
   952                 )
   964                 )
   953               )
   965               )
   954           )
   966           )
   955       )
   967       )
       
   968 
       
   969     "Modified: / 29.7.1998 / 01:09:33 / cg"
   956 ! !
   970 ! !
   957 
   971 
   958 !UILayoutTool::AlignmentOrigin methodsFor:'accessing'!
   972 !UILayoutTool::AlignmentOrigin methodsFor:'accessing'!
   959 
   973 
   960 fetch:aView
   974 fetch:aView
  1169                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1183                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1170                               #activeHelpKey: #hrzExtent
  1184                               #activeHelpKey: #hrzExtent
  1171                               #tabable: true
  1185                               #tabable: true
  1172                               #model: #leftOffset
  1186                               #model: #leftOffset
  1173                               #type: #numberOrNil
  1187                               #type: #numberOrNil
       
  1188                               #group: #inputGroup
  1174                           )
  1189                           )
  1175                            #(#LabelSpec
  1190                            #(#LabelSpec
  1176                               #name: 'labelHeight'
  1191                               #name: 'labelHeight'
  1177                               #layout: #(#AlignmentOrigin 99 0 61 0 1 0.5)
  1192                               #layout: #(#AlignmentOrigin 99 0 61 0 1 0.5)
  1178                               #label: 'Height:'
  1193                               #label: 'Height:'
  1183                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
  1198                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
  1184                               #activeHelpKey: #vrtExtent
  1199                               #activeHelpKey: #vrtExtent
  1185                               #tabable: true
  1200                               #tabable: true
  1186                               #model: #rightOffset
  1201                               #model: #rightOffset
  1187                               #type: #numberOrNil
  1202                               #type: #numberOrNil
       
  1203                               #group: #inputGroup
  1188                           )
  1204                           )
  1189                         )
  1205                         )
  1190                     )
  1206                     )
  1191                     #label: 'Extent'
  1207                     #label: 'Extent'
  1192                     #labelPosition: #topLeft
  1208                     #labelPosition: #topLeft
  1193                 )
  1209                 )
  1194               )
  1210               )
  1195           )
  1211           )
  1196       )
  1212       )
       
  1213 
       
  1214     "Modified: / 29.7.1998 / 01:09:41 / cg"
  1197 ! !
  1215 ! !
  1198 
  1216 
  1199 !UILayoutTool::Extent methodsFor:'accessing'!
  1217 !UILayoutTool::Extent methodsFor:'accessing'!
  1200 
  1218 
  1201 fetch:aView
  1219 fetch:aView
  1320                               #name: 'fieldRightFraction'
  1338                               #name: 'fieldRightFraction'
  1321                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1339                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1322                               #activeHelpKey: #rightRelative
  1340                               #activeHelpKey: #rightRelative
  1323                               #model: #rightFraction
  1341                               #model: #rightFraction
  1324                               #type: #numberOrNil
  1342                               #type: #numberOrNil
       
  1343                               #group: #inputGroup
  1325                           )
  1344                           )
  1326                            #(#ActionButtonSpec
  1345                            #(#ActionButtonSpec
  1327                               #name: 'actionRelativeRight'
  1346                               #name: 'actionRelativeRight'
  1328                               #layout: #(#LayoutFrame 155 0 25 0 177 0 47 0)
  1347                               #layout: #(#LayoutFrame 155 0 25 0 177 0 47 0)
  1329                               #activeHelpKey: #makeRightRelative
  1348                               #activeHelpKey: #makeRightRelative
  1333                               #name: 'fieldRightOffset'
  1352                               #name: 'fieldRightOffset'
  1334                               #layout: #(#LayoutFrame 200 0 25 0 250 0 47 0)
  1353                               #layout: #(#LayoutFrame 200 0 25 0 250 0 47 0)
  1335                               #activeHelpKey: #rightAbsolute
  1354                               #activeHelpKey: #rightAbsolute
  1336                               #model: #rightOffset
  1355                               #model: #rightOffset
  1337                               #type: #numberOrNil
  1356                               #type: #numberOrNil
       
  1357                               #group: #inputGroup
  1338                           )
  1358                           )
  1339                            #(#ActionButtonSpec
  1359                            #(#ActionButtonSpec
  1340                               #name: 'actionAbsoluteRight'
  1360                               #name: 'actionAbsoluteRight'
  1341                               #layout: #(#LayoutFrame 255 0 25 0 277 0 47 0)
  1361                               #layout: #(#LayoutFrame 255 0 25 0 277 0 47 0)
  1342                               #activeHelpKey: #makeRightAbsolute
  1362                               #activeHelpKey: #makeRightAbsolute
  1351                               #name: 'fieldBottomFraction'
  1371                               #name: 'fieldBottomFraction'
  1352                               #layout: #(#LayoutFrame 100 0 53 0 150 0 75 0)
  1372                               #layout: #(#LayoutFrame 100 0 53 0 150 0 75 0)
  1353                               #activeHelpKey: #bottomRelative
  1373                               #activeHelpKey: #bottomRelative
  1354                               #model: #bottomFraction
  1374                               #model: #bottomFraction
  1355                               #type: #numberOrNil
  1375                               #type: #numberOrNil
       
  1376                               #group: #inputGroup
  1356                           )
  1377                           )
  1357                            #(#ActionButtonSpec
  1378                            #(#ActionButtonSpec
  1358                               #name: 'actionRelativeBottom'
  1379                               #name: 'actionRelativeBottom'
  1359                               #layout: #(#LayoutFrame 155 0 53 0 177 0 75 0)
  1380                               #layout: #(#LayoutFrame 155 0 53 0 177 0 75 0)
  1360                               #activeHelpKey: #makeBottomRelative
  1381                               #activeHelpKey: #makeBottomRelative
  1364                               #name: 'fieldBottomOffset'
  1385                               #name: 'fieldBottomOffset'
  1365                               #layout: #(#LayoutFrame 200 0 53 0 250 0 75 0)
  1386                               #layout: #(#LayoutFrame 200 0 53 0 250 0 75 0)
  1366                               #activeHelpKey: #bottomAbsolute
  1387                               #activeHelpKey: #bottomAbsolute
  1367                               #model: #bottomOffset
  1388                               #model: #bottomOffset
  1368                               #type: #numberOrNil
  1389                               #type: #numberOrNil
       
  1390                               #group: #inputGroup
  1369                           )
  1391                           )
  1370                            #(#ActionButtonSpec
  1392                            #(#ActionButtonSpec
  1371                               #name: 'actionAbsoluteBottom'
  1393                               #name: 'actionAbsoluteBottom'
  1372                               #layout: #(#LayoutFrame 255 0 53 0 277 0 75 0)
  1394                               #layout: #(#LayoutFrame 255 0 53 0 277 0 75 0)
  1373                               #activeHelpKey: #makeBottomAbsolute
  1395                               #activeHelpKey: #makeBottomAbsolute
  1379                     #labelPosition: #topLeft
  1401                     #labelPosition: #topLeft
  1380                 )
  1402                 )
  1381               )
  1403               )
  1382           )
  1404           )
  1383       )
  1405       )
       
  1406 
       
  1407     "Modified: / 29.7.1998 / 01:09:56 / cg"
  1384 ! !
  1408 ! !
  1385 
  1409 
  1386 !UILayoutTool::LayoutFrame methodsFor:'accessing'!
  1410 !UILayoutTool::LayoutFrame methodsFor:'accessing'!
  1387 
  1411 
  1388 fetch:aView
  1412 fetch:aView
  1625                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1649                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1626                               #activeHelpKey: #cornerX
  1650                               #activeHelpKey: #cornerX
  1627                               #tabable: true
  1651                               #tabable: true
  1628                               #model: #rightOffset
  1652                               #model: #rightOffset
  1629                               #type: #numberOrNil
  1653                               #type: #numberOrNil
       
  1654                               #group: #inputGroup
  1630                           )
  1655                           )
  1631                            #(#LabelSpec
  1656                            #(#LabelSpec
  1632                               #name: 'labelCornerX'
  1657                               #name: 'labelCornerX'
  1633                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
  1658                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
  1634                               #label: 'Bottom:'
  1659                               #label: 'Bottom:'
  1639                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
  1664                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
  1640                               #activeHelpKey: #cornerY
  1665                               #activeHelpKey: #cornerY
  1641                               #tabable: true
  1666                               #tabable: true
  1642                               #model: #bottomOffset
  1667                               #model: #bottomOffset
  1643                               #type: #numberOrNil
  1668                               #type: #numberOrNil
       
  1669                               #group: #inputGroup
  1644                           )
  1670                           )
  1645                         )
  1671                         )
  1646                     )
  1672                     )
  1647                     #label: 'Corner'
  1673                     #label: 'Corner'
  1648                     #labelPosition: #topLeft
  1674                     #labelPosition: #topLeft
  1649                 )
  1675                 )
  1650               )
  1676               )
  1651           )
  1677           )
  1652       )
  1678       )
       
  1679 
       
  1680     "Modified: / 29.7.1998 / 01:10:16 / cg"
  1653 ! !
  1681 ! !
  1654 
  1682 
  1655 !UILayoutTool::Rectangle methodsFor:'accessing'!
  1683 !UILayoutTool::Rectangle methodsFor:'accessing'!
  1656 
  1684 
  1657 fetch:aView
  1685 fetch:aView