UILayoutTool.st
changeset 751 b182b42defd0
parent 741 c94606aecebf
child 922 0a5799408f54
equal deleted inserted replaced
750:9b705e31d38e 751:b182b42defd0
   182      
   182      
   183        #(#FullSpec
   183        #(#FullSpec
   184           #window: 
   184           #window: 
   185            #(#WindowSpec
   185            #(#WindowSpec
   186               #name: 'UILayoutTool'
   186               #name: 'UILayoutTool'
   187               #layout: #(#LayoutFrame 509 0 293 0 771 0 395 0)
   187               #layout: #(#LayoutFrame 232 0 400 0 576 0 581 0)
   188               #label: 'UILayoutTool'
   188               #label: 'UILayoutTool'
   189               #min: #(#Point 10 10)
   189               #min: #(#Point 10 10)
   190               #max: #(#Point 1152 900)
   190               #max: #(#Point 1152 900)
   191               #bounds: #(#Rectangle 509 293 772 396)
   191               #bounds: #(#Rectangle 232 400 577 582)
   192               #usePreferredExtent: false
   192               #usePreferredExtent: false
   193           )
   193           )
   194           #component: 
   194           #component: 
   195            #(#SpecCollection
   195            #(#SpecCollection
   196               #collection: 
   196               #collection: 
   197                #(
   197                #(
   198                  #(#LabelSpec
   198                  #(#FramedBoxSpec
   199                     #name: 'labelRelative'
   199                     #name: 'FramedBox'
   200                     #layout: #(#Point 80 12)
   200                     #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 108 0)
   201                     #label: 'Relative:'
   201                     #component: 
   202                 )
   202                      #(#SpecCollection
   203                  #(#LabelSpec
   203                         #collection: 
   204                     #name: 'labelAbsolute'
   204                          #(
   205                     #layout: #(#Point 177 13)
   205                            #(#LabelSpec
   206                     #label: 'Offset:'
   206                               #name: 'labelRelative'
   207                 )
   207                               #layout: #(#Point 100 18)
   208                  #(#LabelSpec
   208                               #label: 'Relative:'
   209                     #name: 'labelLeft'
   209                           )
   210                     #layout: #(#AlignmentOrigin 78 0 39 0 1 0)
   210                            #(#LabelSpec
   211                     #label: 'Left:'
   211                               #name: 'labelAbsolute'
   212                 )
   212                               #layout: #(#Point 200 18)
   213                  #(#InputFieldSpec
   213                               #label: 'Offset:'
   214                     #name: 'fieldLeftFraction'
   214                           )
   215                     #layout: #(#LayoutFrame 80 0 36 0 137 0 58 0)
   215                            #(#LabelSpec
   216                     #activeHelpKey: #leftRelative
   216                               #name: 'labelLeft'
   217                     #tabable: true
   217                               #layout: #(#AlignmentOrigin 98 0 39 0 1 0)
   218                     #model: #leftFraction
   218                               #label: 'Left:'
   219                     #type: #numberOrNil
   219                           )
   220                 )
   220                            #(#InputFieldSpec
   221                  #(#ActionButtonSpec
   221                               #name: 'fieldLeftFraction'
   222                     #name: 'actionRelativeLeft'
   222                               #layout: #(#LayoutFrame 100 0 36 0 150 0 58 0)
   223                     #layout: #(#LayoutFrame 142 0 36 0 161 0 54 0)
   223                               #activeHelpKey: #leftRelative
   224                     #activeHelpKey: #makeLeftRelative
   224                               #tabable: true
   225                     #model: #relativeLeft
   225                               #model: #leftFraction
   226                 )
   226                               #type: #numberOrNil
   227                  #(#InputFieldSpec
   227                           )
   228                     #name: 'fieldLeftOffset'
   228                            #(#ActionButtonSpec
   229                     #layout: #(#LayoutFrame 177 0 36 0 235 0 58 0)
   229                               #name: 'actionRelativeLeft'
   230                     #activeHelpKey: #leftAbsolute
   230                               #layout: #(#LayoutFrame 155 0 36 0 177 0 58 0)
   231                     #tabable: true
   231                               #activeHelpKey: #makeLeftRelative
   232                     #model: #leftOffset
   232                               #model: #relativeLeft
   233                     #type: #numberOrNil
   233                           )
   234                 )
   234                            #(#InputFieldSpec
   235                  #(#ActionButtonSpec
   235                               #name: 'fieldLeftOffset'
   236                     #name: 'actionAbsoluteLeft'
   236                               #layout: #(#LayoutFrame 200 0 36 0 250 0 58 0)
   237                     #layout: #(#LayoutFrame 239 0 36 0 258 0 54 0)
   237                               #activeHelpKey: #leftAbsolute
   238                     #activeHelpKey: #makeLeftAbsolute
   238                               #tabable: true
   239                     #model: #absoluteLeft
   239                               #model: #leftOffset
   240                 )
   240                               #type: #numberOrNil
   241                  #(#LabelSpec
   241                           )
   242                     #name: 'labelTop'
   242                            #(#ActionButtonSpec
   243                     #layout: #(#AlignmentOrigin 78 0 66 0 1 0)
   243                               #name: 'actionAbsoluteLeft'
   244                     #label: 'Top:'
   244                               #layout: #(#LayoutFrame 255 0 36 0 277 0 58 0)
   245                 )
   245                               #activeHelpKey: #makeLeftAbsolute
   246                  #(#InputFieldSpec
   246                               #model: #absoluteLeft
   247                     #name: 'fieldTopFraction'
   247                           )
   248                     #layout: #(#LayoutFrame 80 0 63 0 137 0 85 0)
   248                            #(#LabelSpec
   249                     #activeHelpKey: #topRelative
   249                               #name: 'labelTop'
   250                     #tabable: true
   250                               #layout: #(#AlignmentOrigin 98 0 66 0 1 0)
   251                     #model: #topFraction
   251                               #label: 'Top:'
   252                     #type: #numberOrNil
   252                           )
   253                 )
   253                            #(#InputFieldSpec
   254                  #(#ActionButtonSpec
   254                               #name: 'fieldTopFraction'
   255                     #name: 'actionRelativeTop'
   255                               #layout: #(#LayoutFrame 100 0 63 0 150 0 85 0)
   256                     #layout: #(#LayoutFrame 142 0 63 0 161 0 81 0)
   256                               #activeHelpKey: #topRelative
   257                     #activeHelpKey: #makeTopRelative
   257                               #tabable: true
   258                     #model: #relativeTop
   258                               #model: #topFraction
   259                 )
   259                               #type: #numberOrNil
   260                  #(#InputFieldSpec
   260                           )
   261                     #name: 'fieldTopOffset'
   261                            #(#ActionButtonSpec
   262                     #layout: #(#LayoutFrame 177 0 63 0 235 0 85 0)
   262                               #name: 'actionRelativeTop'
   263                     #activeHelpKey: #topAbsolute
   263                               #layout: #(#LayoutFrame 155 0 63 0 177 0 85 0)
   264                     #tabable: true
   264                               #activeHelpKey: #makeTopRelative
   265                     #model: #topOffset
   265                               #model: #relativeTop
   266                     #type: #numberOrNil
   266                           )
   267                 )
   267                            #(#InputFieldSpec
   268                  #(#ActionButtonSpec
   268                               #name: 'fieldTopOffset'
   269                     #name: 'actionAbsoluteTop'
   269                               #layout: #(#LayoutFrame 200 0 63 0 250 0 85 0)
   270                     #layout: #(#LayoutFrame 239 0 63 0 258 0 81 0)
   270                               #activeHelpKey: #topAbsolute
   271                     #activeHelpKey: #makeTopAbsolute
   271                               #tabable: true
   272                     #model: #absoluteTop
   272                               #model: #topOffset
       
   273                               #type: #numberOrNil
       
   274                           )
       
   275                            #(#ActionButtonSpec
       
   276                               #name: 'actionAbsoluteTop'
       
   277                               #layout: #(#LayoutFrame 255 0 63 0 277 0 85 0)
       
   278                               #activeHelpKey: #makeTopAbsolute
       
   279                               #model: #absoluteTop
       
   280                           )
       
   281                         )
       
   282                     )
       
   283                     #label: 'Origin'
       
   284                     #labelPosition: #topLeft
   273                 )
   285                 )
   274               )
   286               )
   275           )
   287           )
   276       )
   288       )
   277 !
   289 !
   294      
   306      
   295        #(#FullSpec
   307        #(#FullSpec
   296           #window: 
   308           #window: 
   297            #(#WindowSpec
   309            #(#WindowSpec
   298               #name: 'UILayoutTool'
   310               #name: 'UILayoutTool'
   299               #layout: #(#LayoutFrame 565 0 276 0 754 0 352 0)
   311               #layout: #(#LayoutFrame 84 0 479 0 361 0 602 0)
   300               #label: 'UILayoutTool'
   312               #label: 'UILayoutTool'
   301               #min: #(#Point 10 10)
   313               #min: #(#Point 10 10)
   302               #max: #(#Point 1152 900)
   314               #max: #(#Point 1152 900)
   303               #bounds: #(#Rectangle 565 276 755 353)
   315               #bounds: #(#Rectangle 84 479 362 603)
   304               #usePreferredExtent: false
   316               #usePreferredExtent: false
   305           )
   317           )
   306           #component: 
   318           #component: 
   307            #(#SpecCollection
   319            #(#SpecCollection
   308               #collection: 
   320               #collection: 
   309                #(
   321                #(
   310                  #(#LabelSpec
   322                  #(#FramedBoxSpec
   311                     #name: 'labelOriginX'
   323                     #name: 'FramedBox'
   312                     #layout: #(#AlignmentOrigin 78 0 23 0 1 0)
   324                     #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 94 0)
   313                     #label: 'Origin x:'
   325                     #component: 
   314                 )
   326                      #(#SpecCollection
   315                  #(#InputFieldSpec
   327                         #collection: 
   316                     #name: 'fieldOriginX'
   328                          #(
   317                     #layout: #(#LayoutFrame 80 0 20 0 173 0 42 0)
   329                            #(#LabelSpec
   318                     #activeHelpKey: #originX
   330                               #name: 'labelOriginY'
   319                     #tabable: true
   331                               #layout: #(#AlignmentOrigin 98 0 28 0 1 0)
   320                     #model: #leftOffset
   332                               #label: 'Left:'
   321                     #type: #numberOrNil
   333                           )
   322                 )
   334                            #(#InputFieldSpec
   323                  #(#LabelSpec
   335                               #name: 'fieldOriginX'
   324                     #name: 'labelOriginY'
   336                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
   325                     #layout: #(#AlignmentOrigin 78 0 50 0 1 0)
   337                               #activeHelpKey: #originX
   326                     #label: 'Origin y:'
   338                               #tabable: true
   327                 )
   339                               #model: #leftOffset
   328                  #(#InputFieldSpec
   340                               #type: #numberOrNil
   329                     #name: 'fieldOriginY'
   341                           )
   330                     #layout: #(#LayoutFrame 80 0 47 0 173 0 69 0)
   342                            #(#LabelSpec
   331                     #activeHelpKey: #originY
   343                               #name: 'labelOriginX'
   332                     #tabable: true
   344                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
   333                     #model: #topOffset
   345                               #label: 'Top:'
   334                     #type: #numberOrNil
   346                           )
       
   347                            #(#InputFieldSpec
       
   348                               #name: 'fieldOriginY'
       
   349                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
       
   350                               #activeHelpKey: #originY
       
   351                               #tabable: true
       
   352                               #model: #topOffset
       
   353                               #type: #numberOrNil
       
   354                           )
       
   355                         )
       
   356                     )
       
   357                     #label: 'Origin'
       
   358                     #labelPosition: #topLeft
   335                 )
   359                 )
   336               )
   360               )
   337           )
   361           )
   338       )
   362       )
   339 !
   363 !
   795      
   819      
   796        #(#FullSpec
   820        #(#FullSpec
   797           #window: 
   821           #window: 
   798            #(#WindowSpec
   822            #(#WindowSpec
   799               #name: 'UILayoutTool-AlignmentOrigin'
   823               #name: 'UILayoutTool-AlignmentOrigin'
   800               #layout: #(#LayoutFrame 206 0 285 0 473 0 489 0)
   824               #layout: #(#LayoutFrame 363 0 402 0 767 0 608 0)
   801               #label: 'UILayoutTool-AlignmentOrigin'
   825               #label: 'UILayoutTool-AlignmentOrigin'
   802               #min: #(#Point 10 10)
   826               #min: #(#Point 10 10)
   803               #max: #(#Point 1152 900)
   827               #max: #(#Point 1152 900)
   804               #bounds: #(#Rectangle 206 285 474 490)
   828               #bounds: #(#Rectangle 363 402 768 609)
   805               #usePreferredExtent: false
   829               #usePreferredExtent: false
   806           )
   830           )
   807           #component: 
   831           #component: 
   808            #(#SpecCollection
   832            #(#SpecCollection
   809               #collection: 
   833               #collection: 
   810                #(
   834                #(
   811                  #(#UISubSpecification
   835                  #(#UISubSpecification
   812                     #name: 'subSpec'
   836                     #name: 'layoutOriginSpec'
   813                     #layout: #(#LayoutOrigin 0 0 0 0)
   837                     #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 111 0)
   814                     #majorKey: #UILayoutTool
   838                     #majorKey: #UILayoutTool
   815                     #minorKey: #layoutOriginSpec
   839                     #minorKey: #layoutOriginSpec
   816                 )
   840                 )
   817                  #(#LabelSpec
   841                  #(#FramedBoxSpec
   818                     #name: 'alignHLabel'
   842                     #name: 'FramedBox'
   819                     #layout: #(#AlignmentOrigin 78 0 102 0 1 0)
   843                     #layout: #(#LayoutFrame 1 0.0 113 0 0 1.0 208 0)
   820                     #label: 'Align H:'
   844                     #component: 
   821                     #adjust: #right
   845                      #(#SpecCollection
   822                 )
   846                         #collection: 
   823                  #(#LabelSpec
   847                          #(
   824                     #name: 'alignVLabel'
   848                            #(#LabelSpec
   825                     #layout: #(#AlignmentOrigin 78 0 128 0 1 0)
   849                               #name: 'alignHLabel'
   826                     #label: 'Align V:'
   850                               #layout: #(#AlignmentOrigin 98 0 28 0 1 0)
   827                     #adjust: #right
   851                               #label: 'Horizontal:'
   828                 )
   852                               #adjust: #right
   829                  #(#InputFieldSpec
   853                           )
   830                     #name: 'leftAlignmentFractionField'
   854                            #(#LabelSpec
   831                     #layout: #(#LayoutFrame 80 0 99 0 137 0 121 0)
   855                               #name: 'alignVLabel'
   832                     #activeHelpKey: #alignHorizontal
   856                               #layout: #(#AlignmentOrigin 98 0 54 0 1 0)
   833                     #tabable: true
   857                               #label: 'Vertical:'
   834                     #model: #leftAlignmentFraction
   858                               #adjust: #right
   835                     #type: #numberOrNil
   859                           )
   836                 )
   860                            #(#InputFieldSpec
   837                  #(#InputFieldSpec
   861                               #name: 'leftAlignmentFractionField'
   838                     #name: 'topAlignmentFractionField'
   862                               #layout: #(#LayoutFrame 100 0 25 0 157 0 47 0)
   839                     #layout: #(#LayoutFrame 80 0 125 0 137 0 147 0)
   863                               #activeHelpKey: #alignHorizontal
   840                     #activeHelpKey: #alignVertical
   864                               #tabable: true
   841                     #tabable: true
   865                               #model: #leftAlignmentFraction
   842                     #model: #topAlignmentFraction
   866                               #type: #numberOrNil
   843                     #type: #numberOrNil
   867                           )
   844                 )
   868                            #(#InputFieldSpec
   845                  #(#DividerSpec
   869                               #name: 'topAlignmentFractionField'
   846                     #name: 'separator1'
   870                               #layout: #(#LayoutFrame 100 0 51 0 157 0 73 0)
   847                     #layout: #(#Rectangle 166 103 215 106)
   871                               #activeHelpKey: #alignVertical
   848                     #orientation: #horizontal
   872                               #tabable: true
   849                 )
   873                               #model: #topAlignmentFraction
   850                  #(#DividerSpec
   874                               #type: #numberOrNil
   851                     #name: 'separator2'
   875                           )
   852                     #layout: #(#Rectangle 166 133 215 136)
   876                            #(#DividerSpec
   853                     #orientation: #horizontal
   877                               #name: 'separator1'
   854                 )
   878                               #layout: #(#LayoutFrame 214 0 30 0 255 0 33 0)
   855                  #(#DividerSpec
   879                           )
   856                     #name: 'separator3'
   880                            #(#DividerSpec
   857                     #layout: #(#Rectangle 161 111 164 132)
   881                               #name: 'separator2'
   858                     #orientation: #vertical
   882                               #layout: #(#LayoutFrame 214 0 66 0 255 0 69 0)
   859                 )
   883                           )
   860                  #(#DividerSpec
   884                            #(#DividerSpec
   861                     #name: 'separator4'
   885                               #name: 'separator3'
   862                     #layout: #(#Rectangle 217 111 220 132)
   886                               #layout: #(#LayoutFrame 206 0 39 0 209 0 61 0)
   863                     #orientation: #vertical
   887                               #orientation: #vertical
   864                 )
   888                           )
   865                  #(#ActionButtonSpec
   889                            #(#DividerSpec
   866                     #name: 'alignBottomRight'
   890                               #name: 'separator4'
   867                     #layout: #(#Rectangle 213 131 225 143)
   891                               #layout: #(#LayoutFrame 260 0 39 0 263 0 61 0)
   868                     #activeHelpKey: #alignBottomRight
   892                               #orientation: #vertical
   869                     #model: #alignBottomRight
   893                           )
   870                 )
   894                            #(#ActionButtonSpec
   871                  #(#ActionButtonSpec
   895                               #name: 'alignBottomRight'
   872                     #name: 'alignTopLeft'
   896                               #layout: #(#LayoutFrame 255 0 61 0 269 0 75 0)
   873                     #layout: #(#Rectangle 157 100 169 112)
   897                               #activeHelpKey: #alignBottomRight
   874                     #activeHelpKey: #alignTopLeft
   898                               #model: #alignBottomRight
   875                     #model: #alignTopLeft
   899                           )
   876                 )
   900                            #(#ActionButtonSpec
   877                  #(#ActionButtonSpec
   901                               #name: 'alignTopLeft'
   878                     #name: 'alignTopRight'
   902                               #layout: #(#LayoutFrame 200 0 25 0 214 0 39 0)
   879                     #layout: #(#Rectangle 213 100 225 112)
   903                               #activeHelpKey: #alignTopLeft
   880                     #activeHelpKey: #alignTopRight
   904                               #model: #alignTopLeft
   881                     #model: #alignTopRight
   905                           )
   882                 )
   906                            #(#ActionButtonSpec
   883                  #(#ActionButtonSpec
   907                               #name: 'alignTopRight'
   884                     #name: 'alignBottomLeft'
   908                               #layout: #(#LayoutFrame 255 0 25 0 269 0 39 0)
   885                     #layout: #(#Rectangle 157 130 169 142)
   909                               #activeHelpKey: #alignTopRight
   886                     #activeHelpKey: #alignBottomLeft
   910                               #model: #alignTopRight
   887                     #model: #alignBottomLeft
   911                           )
   888                 )
   912                            #(#ActionButtonSpec
   889                  #(#ActionButtonSpec
   913                               #name: 'alignBottomLeft'
   890                     #name: 'alignTopCenter'
   914                               #layout: #(#LayoutFrame 200 0 61 0 214 0 75 0)
   891                     #layout: #(#Rectangle 185 100 197 112)
   915                               #activeHelpKey: #alignBottomLeft
   892                     #activeHelpKey: #alignTopCenter
   916                               #model: #alignBottomLeft
   893                     #model: #alignTopCenter
   917                           )
   894                 )
   918                            #(#ActionButtonSpec
   895                  #(#ActionButtonSpec
   919                               #name: 'alignTopCenter'
   896                     #name: 'alignBottomCenter'
   920                               #layout: #(#LayoutFrame 227 0 25 0 241 0 39 0)
   897                     #layout: #(#Rectangle 185 131 197 143)
   921                               #activeHelpKey: #alignTopCenter
   898                     #activeHelpKey: #alignBottomCenter
   922                               #model: #alignTopCenter
   899                     #model: #alignBottomCenter
   923                           )
   900                 )
   924                            #(#ActionButtonSpec
   901                  #(#ActionButtonSpec
   925                               #name: 'alignBottomCenter'
   902                     #name: 'alignLeftCenter'
   926                               #layout: #(#LayoutFrame 227 0 61 0 241 0 75 0)
   903                     #layout: #(#Rectangle 157 115 169 127)
   927                               #activeHelpKey: #alignBottomCenter
   904                     #activeHelpKey: #alignLeftCenter
   928                               #model: #alignBottomCenter
   905                     #model: #alignLeftCenter
   929                           )
   906                 )
   930                            #(#ActionButtonSpec
   907                  #(#ActionButtonSpec
   931                               #name: 'alignLeftCenter'
   908                     #name: 'alignRightCenter'
   932                               #layout: #(#LayoutFrame 200 0 43 0 214 0 57 0)
   909                     #layout: #(#Rectangle 213 115 225 127)
   933                               #activeHelpKey: #alignLeftCenter
   910                     #activeHelpKey: #alignRightCenter
   934                               #model: #alignLeftCenter
   911                     #model: #alignRightCenter
   935                           )
   912                 )
   936                            #(#ActionButtonSpec
   913                  #(#ActionButtonSpec
   937                               #name: 'alignRightCenter'
   914                     #name: 'alignCenter'
   938                               #layout: #(#LayoutFrame 255 0 43 0 269 0 57 0)
   915                     #layout: #(#Rectangle 185 115 197 127)
   939                               #activeHelpKey: #alignRightCenter
   916                     #activeHelpKey: #alignCenter
   940                               #model: #alignRightCenter
   917                     #model: #alignCenter
   941                           )
       
   942                            #(#ActionButtonSpec
       
   943                               #name: 'alignCenter'
       
   944                               #layout: #(#LayoutFrame 227 0 43 0 241 0 57 0)
       
   945                               #activeHelpKey: #alignCenter
       
   946                               #model: #alignCenter
       
   947                           )
       
   948                         )
       
   949                     )
       
   950                     #label: 'Alignment'
       
   951                     #labelPosition: #topLeft
   918                 )
   952                 )
   919               )
   953               )
   920           )
   954           )
   921       )
   955       )
   922 ! !
   956 ! !
  1084 ! !
  1118 ! !
  1085 
  1119 
  1086 !UILayoutTool::Extent class methodsFor:'interface specs'!
  1120 !UILayoutTool::Extent class methodsFor:'interface specs'!
  1087 
  1121 
  1088 windowSpec
  1122 windowSpec
  1089     "this window spec was automatically generated by the ST/X UIPainter"
  1123     "This resource specification was automatically generated
  1090 
  1124      by the UIPainter of ST/X."
  1091     "do not manually edit this - the painter/builder may not be able to
  1125 
  1092      handle the specification if its corrupted."
  1126     "Do not manually edit this!! If it is corrupted,
       
  1127      the UIPainter may not be able to read the specification."
  1093 
  1128 
  1094     "
  1129     "
  1095      UIPainter new openOnClass:UILayoutTool::Extent andSelector:#windowSpec
  1130      UIPainter new openOnClass:UILayoutTool::Extent andSelector:#windowSpec
  1096      UILayoutTool::Extent new openInterface:#windowSpec
  1131      UILayoutTool::Extent new openInterface:#windowSpec
  1097     "
  1132      UILayoutTool::Extent open
  1098     "UILayoutTool::Extent open"
  1133     "
  1099 
  1134 
  1100     <resource: #canvas>
  1135     <resource: #canvas>
  1101 
  1136 
  1102     ^
  1137     ^
  1103      
  1138      
  1104        #(#FullSpec
  1139        #(#FullSpec
  1105           #window: 
  1140           #window: 
  1106            #(#WindowSpec
  1141            #(#WindowSpec
  1107               #name: 'UILayoutTool-Extent'
  1142               #name: 'UILayoutTool-Extent'
  1108               #layout: #(#LayoutFrame 31 0 423 0 256 0 508 0)
  1143               #layout: #(#LayoutFrame 54 0 340 0 379 0 488 0)
  1109               #label: 'UILayoutTool-Extent'
  1144               #label: 'UILayoutTool-Extent'
  1110               #min: #(#Point 10 10)
  1145               #min: #(#Point 10 10)
  1111               #max: #(#Point 1152 900)
  1146               #max: #(#Point 1152 900)
  1112               #bounds: #(#Rectangle 31 423 257 509)
  1147               #bounds: #(#Rectangle 54 340 380 489)
  1113               #usePreferredExtent: false
  1148               #usePreferredExtent: false
  1114           )
  1149           )
  1115           #component: 
  1150           #component: 
  1116            #(#SpecCollection
  1151            #(#SpecCollection
  1117               #collection: 
  1152               #collection: 
  1118                #(
  1153                #(
  1119                  #(#LabelSpec
  1154                  #(#FramedBoxSpec
  1120                     #name: 'labelWidth'
  1155                     #name: 'FramedBox'
  1121                     #layout: #(#AlignmentOrigin 79 0 31 0 1 0.5)
  1156                     #layout: #(#LayoutFrame 0 0.0 6 0.0 0 1.0 100 0)
  1122                     #label: 'Width:'
  1157                     #component: 
  1123                     #adjust: #right
  1158                      #(#SpecCollection
  1124                 )
  1159                         #collection: 
  1125                  #(#InputFieldSpec
  1160                          #(
  1126                     #name: 'fieldLeftOffset'
  1161                            #(#LabelSpec
  1127                     #layout: #(#LayoutFrame 80 0 20 0 173 0 42 0)
  1162                               #name: 'labelWidth'
  1128                     #activeHelpKey: #hrzExtent
  1163                               #layout: #(#AlignmentOrigin 99 0 36 0 1 0.5)
  1129                     #tabable: true
  1164                               #label: 'Width:'
  1130                     #model: #leftOffset
  1165                               #adjust: #right
  1131                     #type: #numberOrNil
  1166                           )
  1132                 )
  1167                            #(#InputFieldSpec
  1133                  #(#LabelSpec
  1168                               #name: 'fieldLeftOffset'
  1134                     #name: 'labelHeight'
  1169                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1135                     #layout: #(#AlignmentOrigin 79 0 58 0 1 0.5)
  1170                               #activeHelpKey: #hrzExtent
  1136                     #label: 'Height:'
  1171                               #tabable: true
  1137                     #adjust: #right
  1172                               #model: #leftOffset
  1138                 )
  1173                               #type: #numberOrNil
  1139                  #(#InputFieldSpec
  1174                           )
  1140                     #name: 'fieldRightOffset'
  1175                            #(#LabelSpec
  1141                     #layout: #(#LayoutFrame 80 0 47 0 173 0 69 0)
  1176                               #name: 'labelHeight'
  1142                     #activeHelpKey: #vrtExtent
  1177                               #layout: #(#AlignmentOrigin 99 0 61 0 1 0.5)
  1143                     #tabable: true
  1178                               #label: 'Height:'
  1144                     #model: #rightOffset
  1179                               #adjust: #right
  1145                     #type: #numberOrNil
  1180                           )
       
  1181                            #(#InputFieldSpec
       
  1182                               #name: 'fieldRightOffset'
       
  1183                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
       
  1184                               #activeHelpKey: #vrtExtent
       
  1185                               #tabable: true
       
  1186                               #model: #rightOffset
       
  1187                               #type: #numberOrNil
       
  1188                           )
       
  1189                         )
       
  1190                     )
       
  1191                     #label: 'Extent'
       
  1192                     #labelPosition: #topLeft
  1146                 )
  1193                 )
  1147               )
  1194               )
  1148           )
  1195           )
  1149       )
  1196       )
  1150 ! !
  1197 ! !
  1217 ! !
  1264 ! !
  1218 
  1265 
  1219 !UILayoutTool::LayoutFrame class methodsFor:'interface specs'!
  1266 !UILayoutTool::LayoutFrame class methodsFor:'interface specs'!
  1220 
  1267 
  1221 windowSpec
  1268 windowSpec
  1222     "this window spec was automatically generated by the ST/X UIPainter"
  1269     "This resource specification was automatically generated
  1223 
  1270      by the UIPainter of ST/X."
  1224     "do not manually edit this - the painter/builder may not be able to
  1271 
  1225      handle the specification if its corrupted."
  1272     "Do not manually edit this!! If it is corrupted,
       
  1273      the UIPainter may not be able to read the specification."
  1226 
  1274 
  1227     "
  1275     "
  1228      UIPainter new openOnClass:UILayoutTool::LayoutFrame andSelector:#windowSpec
  1276      UIPainter new openOnClass:UILayoutTool::LayoutFrame andSelector:#windowSpec
  1229      UILayoutTool::LayoutFrame new openInterface:#windowSpec
  1277      UILayoutTool::LayoutFrame new openInterface:#windowSpec
  1230     "
  1278      UILayoutTool::LayoutFrame open
  1231     "UILayoutTool::LayoutFrame open"
  1279     "
  1232 
  1280 
  1233     <resource: #canvas>
  1281     <resource: #canvas>
  1234 
  1282 
  1235     ^
  1283     ^
  1236      
  1284      
  1237        #(#FullSpec
  1285        #(#FullSpec
  1238           #window: 
  1286           #window: 
  1239            #(#WindowSpec
  1287            #(#WindowSpec
  1240               #name: 'UILayoutTool-LayoutFrame'
  1288               #name: 'UILayoutTool-LayoutFrame'
  1241               #layout: #(#LayoutFrame 31 0 423 0 280 0 615 0)
  1289               #layout: #(#LayoutFrame 149 0 418 0 547 0 651 0)
  1242               #label: 'UILayoutTool-LayoutFrame'
  1290               #label: 'UILayoutTool-LayoutFrame'
  1243               #min: #(#Point 10 10)
  1291               #min: #(#Point 10 10)
  1244               #max: #(#Point 1152 900)
  1292               #max: #(#Point 1152 900)
  1245               #bounds: #(#Rectangle 31 423 281 616)
  1293               #bounds: #(#Rectangle 149 418 548 652)
  1246               #usePreferredExtent: false
  1294               #usePreferredExtent: false
       
  1295               #forceRecursiveBackground: false
  1247           )
  1296           )
  1248           #component: 
  1297           #component: 
  1249            #(#SpecCollection
  1298            #(#SpecCollection
  1250               #collection: 
  1299               #collection: 
  1251                #(
  1300                #(
  1252                  #(#UISubSpecification
  1301                  #(#UISubSpecification
  1253                     #name: 'subLayoutSpec'
  1302                     #name: 'layoutOriginSpec'
  1254                     #layout: #(#LayoutOrigin 0 0 0 0)
  1303                     #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 110 0)
  1255                     #majorKey: #UILayoutTool
  1304                     #majorKey: #UILayoutTool
  1256                     #minorKey: #layoutOriginSpec
  1305                     #minorKey: #layoutOriginSpec
  1257                 )
  1306                 )
  1258                  #(#LabelSpec
  1307                  #(#FramedBoxSpec
  1259                     #name: 'labelRight'
  1308                     #name: 'FramedBox'
  1260                     #layout: #(#AlignmentOrigin 78 0 101 0 1 0)
  1309                     #layout: #(#LayoutFrame 1 0.0 113 0 0 1.0 214 0)
  1261                     #label: 'Right:'
  1310                     #component: 
  1262                 )
  1311                      #(#SpecCollection
  1263                  #(#InputFieldSpec
  1312                         #collection: 
  1264                     #name: 'fieldRightFraction'
  1313                          #(
  1265                     #layout: #(#LayoutFrame 80 0 98 0 137 0 120 0)
  1314                            #(#LabelSpec
  1266                     #activeHelpKey: #rightRelative
  1315                               #name: 'labelRight'
  1267                     #model: #rightFraction
  1316                               #layout: #(#AlignmentOrigin 98 0 36 0 1 0.5)
  1268                     #type: #numberOrNil
  1317                               #label: 'Right:'
  1269                 )
  1318                           )
  1270                  #(#ActionButtonSpec
  1319                            #(#InputFieldSpec
  1271                     #name: 'actionRelativeRight'
  1320                               #name: 'fieldRightFraction'
  1272                     #layout: #(#LayoutFrame 142 0 98 0 161 0 116 0)
  1321                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1273                     #activeHelpKey: #makeRightRelative
  1322                               #activeHelpKey: #rightRelative
  1274                     #model: #relativeRight
  1323                               #model: #rightFraction
  1275                 )
  1324                               #type: #numberOrNil
  1276                  #(#InputFieldSpec
  1325                           )
  1277                     #name: 'fieldRightOffset'
  1326                            #(#ActionButtonSpec
  1278                     #layout: #(#LayoutFrame 177 0 98 0 235 0 120 0)
  1327                               #name: 'actionRelativeRight'
  1279                     #activeHelpKey: #rightAbsolute
  1328                               #layout: #(#LayoutFrame 155 0 25 0 177 0 47 0)
  1280                     #model: #rightOffset
  1329                               #activeHelpKey: #makeRightRelative
  1281                     #type: #numberOrNil
  1330                               #model: #relativeRight
  1282                 )
  1331                           )
  1283                  #(#ActionButtonSpec
  1332                            #(#InputFieldSpec
  1284                     #name: 'actionAbsoluteRight'
  1333                               #name: 'fieldRightOffset'
  1285                     #layout: #(#LayoutFrame 239 0 98 0 258 0 116 0)
  1334                               #layout: #(#LayoutFrame 200 0 25 0 250 0 47 0)
  1286                     #activeHelpKey: #makeRightAbsolute
  1335                               #activeHelpKey: #rightAbsolute
  1287                     #model: #absoluteRight
  1336                               #model: #rightOffset
  1288                 )
  1337                               #type: #numberOrNil
  1289                  #(#LabelSpec
  1338                           )
  1290                     #name: 'labelBottom'
  1339                            #(#ActionButtonSpec
  1291                     #layout: #(#AlignmentOrigin 78 0 129 0 1 0)
  1340                               #name: 'actionAbsoluteRight'
  1292                     #label: 'Bottom:'
  1341                               #layout: #(#LayoutFrame 255 0 25 0 277 0 47 0)
  1293                 )
  1342                               #activeHelpKey: #makeRightAbsolute
  1294                  #(#InputFieldSpec
  1343                               #model: #absoluteRight
  1295                     #name: 'fieldBottomFraction'
  1344                           )
  1296                     #layout: #(#LayoutFrame 80 0 126 0 137 0 148 0)
  1345                            #(#LabelSpec
  1297                     #activeHelpKey: #bottomRelative
  1346                               #name: 'labelBottom'
  1298                     #model: #bottomFraction
  1347                               #layout: #(#AlignmentOrigin 98 0 64 0 1 0.5)
  1299                     #type: #numberOrNil
  1348                               #label: 'Bottom:'
  1300                 )
  1349                           )
  1301                  #(#ActionButtonSpec
  1350                            #(#InputFieldSpec
  1302                     #name: 'actionRelativeBottom'
  1351                               #name: 'fieldBottomFraction'
  1303                     #layout: #(#LayoutFrame 142 0 126 0 161 0 144 0)
  1352                               #layout: #(#LayoutFrame 100 0 53 0 150 0 75 0)
  1304                     #activeHelpKey: #makeBottomRelative
  1353                               #activeHelpKey: #bottomRelative
  1305                     #model: #relativeBottom
  1354                               #model: #bottomFraction
  1306                 )
  1355                               #type: #numberOrNil
  1307                  #(#InputFieldSpec
  1356                           )
  1308                     #name: 'fieldBottomOffset'
  1357                            #(#ActionButtonSpec
  1309                     #layout: #(#LayoutFrame 177 0 126 0 234 0 148 0)
  1358                               #name: 'actionRelativeBottom'
  1310                     #activeHelpKey: #bottomAbsolute
  1359                               #layout: #(#LayoutFrame 155 0 53 0 177 0 75 0)
  1311                     #model: #bottomOffset
  1360                               #activeHelpKey: #makeBottomRelative
  1312                     #type: #numberOrNil
  1361                               #model: #relativeBottom
  1313                 )
  1362                           )
  1314                  #(#ActionButtonSpec
  1363                            #(#InputFieldSpec
  1315                     #name: 'actionAbsoluteBottom'
  1364                               #name: 'fieldBottomOffset'
  1316                     #layout: #(#LayoutFrame 239 0 126 0 258 0 144 0)
  1365                               #layout: #(#LayoutFrame 200 0 53 0 250 0 75 0)
  1317                     #activeHelpKey: #makeBottomAbsolute
  1366                               #activeHelpKey: #bottomAbsolute
  1318                     #model: #absoluteBottom
  1367                               #model: #bottomOffset
       
  1368                               #type: #numberOrNil
       
  1369                           )
       
  1370                            #(#ActionButtonSpec
       
  1371                               #name: 'actionAbsoluteBottom'
       
  1372                               #layout: #(#LayoutFrame 255 0 53 0 277 0 75 0)
       
  1373                               #activeHelpKey: #makeBottomAbsolute
       
  1374                               #model: #absoluteBottom
       
  1375                           )
       
  1376                         )
       
  1377                     )
       
  1378                     #label: 'Corner'
       
  1379                     #labelPosition: #topLeft
  1319                 )
  1380                 )
  1320               )
  1381               )
  1321           )
  1382           )
  1322       )
  1383       )
  1323 ! !
  1384 ! !
  1381      
  1442      
  1382        #(#FullSpec
  1443        #(#FullSpec
  1383           #window: 
  1444           #window: 
  1384            #(#WindowSpec
  1445            #(#WindowSpec
  1385               #name: 'UILayoutTool-LayoutOrigin'
  1446               #name: 'UILayoutTool-LayoutOrigin'
  1386               #layout: #(#LayoutFrame 417 0 298 0 674 0 390 0)
  1447               #layout: #(#LayoutFrame 290 0 420 0 647 0 565 0)
  1387               #label: 'UILayoutTool-LayoutOrigin'
  1448               #label: 'UILayoutTool-LayoutOrigin'
  1388               #min: #(#Point 10 10)
  1449               #min: #(#Point 10 10)
  1389               #max: #(#Point 1152 900)
  1450               #max: #(#Point 1152 900)
  1390               #bounds: #(#Rectangle 417 298 675 391)
  1451               #bounds: #(#Rectangle 290 420 648 566)
  1391               #usePreferredExtent: false
  1452               #usePreferredExtent: false
  1392           )
  1453           )
  1393           #component: 
  1454           #component: 
  1394            #(#SpecCollection
  1455            #(#SpecCollection
  1395               #collection: 
  1456               #collection: 
  1396                #(
  1457                #(
  1397                  #(#UISubSpecification
  1458                  #(#UISubSpecification
  1398                     #name: 'subSpec'
  1459                     #name: 'layoutOriginSpec'
  1399                     #layout: #(#LayoutOrigin 0 0 0 0)
  1460                     #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 110 0)
  1400                     #majorKey: #UILayoutTool
  1461                     #majorKey: #UILayoutTool
  1401                     #minorKey: #layoutOriginSpec
  1462                     #minorKey: #layoutOriginSpec
  1402                 )
  1463                 )
  1403               )
  1464               )
  1404           )
  1465           )
  1459      
  1520      
  1460        #(#FullSpec
  1521        #(#FullSpec
  1461           #window: 
  1522           #window: 
  1462            #(#WindowSpec
  1523            #(#WindowSpec
  1463               #name: 'UILayoutTool-Point'
  1524               #name: 'UILayoutTool-Point'
  1464               #layout: #(#LayoutFrame 427 0 336 0 635 0 423 0)
  1525               #layout: #(#LayoutFrame 324 0 410 0 618 0 547 0)
  1465               #label: 'UILayoutTool-Point'
  1526               #label: 'UILayoutTool-Point'
  1466               #min: #(#Point 10 10)
  1527               #min: #(#Point 10 10)
  1467               #max: #(#Point 1152 900)
  1528               #max: #(#Point 1152 900)
  1468               #bounds: #(#Rectangle 427 336 636 424)
  1529               #bounds: #(#Rectangle 324 410 619 548)
  1469               #usePreferredExtent: false
  1530               #usePreferredExtent: false
  1470           )
  1531           )
  1471           #component: 
  1532           #component: 
  1472            #(#SpecCollection
  1533            #(#SpecCollection
  1473               #collection: 
  1534               #collection: 
  1474                #(
  1535                #(
  1475                  #(#UISubSpecification
  1536                  #(#UISubSpecification
  1476                     #name: 'subSpec'
  1537                     #name: 'layoutPointSpec'
  1477                     #layout: #(#LayoutOrigin 0 0 0 0)
  1538                     #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 100 0)
  1478                     #majorKey: #UILayoutTool
  1539                     #majorKey: #UILayoutTool
  1479                     #minorKey: #layoutPointSpec
  1540                     #minorKey: #layoutPointSpec
  1480                 )
  1541                 )
  1481               )
  1542               )
  1482           )
  1543           )
  1527      
  1588      
  1528        #(#FullSpec
  1589        #(#FullSpec
  1529           #window: 
  1590           #window: 
  1530            #(#WindowSpec
  1591            #(#WindowSpec
  1531               #name: 'UILayoutTool-Rectangle'
  1592               #name: 'UILayoutTool-Rectangle'
  1532               #layout: #(#LayoutFrame 357 0 349 0 580 0 494 0)
  1593               #layout: #(#LayoutFrame 339 0 411 0 680 0 609 0)
  1533               #label: 'UILayoutTool-Rectangle'
  1594               #label: 'UILayoutTool-Rectangle'
  1534               #min: #(#Point 10 10)
  1595               #min: #(#Point 10 10)
  1535               #max: #(#Point 1152 900)
  1596               #max: #(#Point 1152 900)
  1536               #bounds: #(#Rectangle 357 349 581 495)
  1597               #bounds: #(#Rectangle 339 411 681 610)
  1537               #usePreferredExtent: false
  1598               #usePreferredExtent: false
  1538           )
  1599           )
  1539           #component: 
  1600           #component: 
  1540            #(#SpecCollection
  1601            #(#SpecCollection
  1541               #collection: 
  1602               #collection: 
  1542                #(
  1603                #(
  1543                  #(#UISubSpecification
  1604                  #(#UISubSpecification
  1544                     #name: 'subSpecification'
  1605                     #name: 'subSpecification'
  1545                     #layout: #(#LayoutOrigin 0 0 0 0)
  1606                     #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 96 0)
  1546                     #majorKey: #UILayoutTool
  1607                     #majorKey: #UILayoutTool
  1547                     #minorKey: #layoutPointSpec
  1608                     #minorKey: #layoutPointSpec
  1548                 )
  1609                 )
  1549                  #(#LabelSpec
  1610                  #(#FramedBoxSpec
  1550                     #name: 'labelCornerX'
  1611                     #name: 'FramedBox'
  1551                     #layout: #(#AlignmentOrigin 78 0 77 0 1 0)
  1612                     #layout: #(#LayoutFrame 1 0.0 99 0 0 1.0 194 0)
  1552                     #label: 'Corner x:'
  1613                     #component: 
  1553                     #adjust: #left
  1614                      #(#SpecCollection
  1554                 )
  1615                         #collection: 
  1555                  #(#InputFieldSpec
  1616                          #(
  1556                     #name: 'fieldCornerX'
  1617                            #(#LabelSpec
  1557                     #layout: #(#LayoutFrame 80 0 74 0 173 0 96 0)
  1618                               #name: 'labelCornerY'
  1558                     #activeHelpKey: #cornerX
  1619                               #layout: #(#AlignmentOrigin 98 0 28 0 1 0)
  1559                     #tabable: true
  1620                               #label: 'Right:'
  1560                     #model: #rightOffset
  1621                               #adjust: #left
  1561                     #type: #numberOrNil
  1622                           )
  1562                 )
  1623                            #(#InputFieldSpec
  1563                  #(#LabelSpec
  1624                               #name: 'fieldCornerX'
  1564                     #name: 'labelCornerY'
  1625                               #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0)
  1565                     #layout: #(#AlignmentOrigin 78 0 104 0 1 0)
  1626                               #activeHelpKey: #cornerX
  1566                     #label: 'Corner y:'
  1627                               #tabable: true
  1567                     #adjust: #left
  1628                               #model: #rightOffset
  1568                 )
  1629                               #type: #numberOrNil
  1569                  #(#InputFieldSpec
  1630                           )
  1570                     #name: 'fieldCornerY'
  1631                            #(#LabelSpec
  1571                     #layout: #(#LayoutFrame 80 0 101 0 173 0 123 0)
  1632                               #name: 'labelCornerX'
  1572                     #activeHelpKey: #cornerY
  1633                               #layout: #(#AlignmentOrigin 98 0 53 0 1 0)
  1573                     #tabable: true
  1634                               #label: 'Bottom:'
  1574                     #model: #bottomOffset
  1635                               #adjust: #left
  1575                     #type: #numberOrNil
  1636                           )
       
  1637                            #(#InputFieldSpec
       
  1638                               #name: 'fieldCornerY'
       
  1639                               #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0)
       
  1640                               #activeHelpKey: #cornerY
       
  1641                               #tabable: true
       
  1642                               #model: #bottomOffset
       
  1643                               #type: #numberOrNil
       
  1644                           )
       
  1645                         )
       
  1646                     )
       
  1647                     #label: 'Corner'
       
  1648                     #labelPosition: #topLeft
  1576                 )
  1649                 )
  1577               )
  1650               )
  1578           )
  1651           )
  1579       )
  1652       )
  1580 ! !
  1653 ! !