# HG changeset patch # User tz # Date 891261572 -7200 # Node ID b182b42defd08248d48baa721a8a10ff11e15f59 # Parent 9b705e31d38e943b5c3b328b7f6d279fa958fbbb FramedBoxes for the UILayoutTool! diff -r 9b705e31d38e -r b182b42defd0 UILayoutTool.st --- a/UILayoutTool.st Mon Mar 30 14:38:43 1998 +0200 +++ b/UILayoutTool.st Mon Mar 30 14:39:32 1998 +0200 @@ -184,92 +184,104 @@ #window: #(#WindowSpec #name: 'UILayoutTool' - #layout: #(#LayoutFrame 509 0 293 0 771 0 395 0) + #layout: #(#LayoutFrame 232 0 400 0 576 0 581 0) #label: 'UILayoutTool' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 509 293 772 396) + #bounds: #(#Rectangle 232 400 577 582) #usePreferredExtent: false ) #component: #(#SpecCollection #collection: #( - #(#LabelSpec - #name: 'labelRelative' - #layout: #(#Point 80 12) - #label: 'Relative:' - ) - #(#LabelSpec - #name: 'labelAbsolute' - #layout: #(#Point 177 13) - #label: 'Offset:' - ) - #(#LabelSpec - #name: 'labelLeft' - #layout: #(#AlignmentOrigin 78 0 39 0 1 0) - #label: 'Left:' - ) - #(#InputFieldSpec - #name: 'fieldLeftFraction' - #layout: #(#LayoutFrame 80 0 36 0 137 0 58 0) - #activeHelpKey: #leftRelative - #tabable: true - #model: #leftFraction - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionRelativeLeft' - #layout: #(#LayoutFrame 142 0 36 0 161 0 54 0) - #activeHelpKey: #makeLeftRelative - #model: #relativeLeft - ) - #(#InputFieldSpec - #name: 'fieldLeftOffset' - #layout: #(#LayoutFrame 177 0 36 0 235 0 58 0) - #activeHelpKey: #leftAbsolute - #tabable: true - #model: #leftOffset - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionAbsoluteLeft' - #layout: #(#LayoutFrame 239 0 36 0 258 0 54 0) - #activeHelpKey: #makeLeftAbsolute - #model: #absoluteLeft - ) - #(#LabelSpec - #name: 'labelTop' - #layout: #(#AlignmentOrigin 78 0 66 0 1 0) - #label: 'Top:' - ) - #(#InputFieldSpec - #name: 'fieldTopFraction' - #layout: #(#LayoutFrame 80 0 63 0 137 0 85 0) - #activeHelpKey: #topRelative - #tabable: true - #model: #topFraction - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionRelativeTop' - #layout: #(#LayoutFrame 142 0 63 0 161 0 81 0) - #activeHelpKey: #makeTopRelative - #model: #relativeTop - ) - #(#InputFieldSpec - #name: 'fieldTopOffset' - #layout: #(#LayoutFrame 177 0 63 0 235 0 85 0) - #activeHelpKey: #topAbsolute - #tabable: true - #model: #topOffset - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionAbsoluteTop' - #layout: #(#LayoutFrame 239 0 63 0 258 0 81 0) - #activeHelpKey: #makeTopAbsolute - #model: #absoluteTop + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 108 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'labelRelative' + #layout: #(#Point 100 18) + #label: 'Relative:' + ) + #(#LabelSpec + #name: 'labelAbsolute' + #layout: #(#Point 200 18) + #label: 'Offset:' + ) + #(#LabelSpec + #name: 'labelLeft' + #layout: #(#AlignmentOrigin 98 0 39 0 1 0) + #label: 'Left:' + ) + #(#InputFieldSpec + #name: 'fieldLeftFraction' + #layout: #(#LayoutFrame 100 0 36 0 150 0 58 0) + #activeHelpKey: #leftRelative + #tabable: true + #model: #leftFraction + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionRelativeLeft' + #layout: #(#LayoutFrame 155 0 36 0 177 0 58 0) + #activeHelpKey: #makeLeftRelative + #model: #relativeLeft + ) + #(#InputFieldSpec + #name: 'fieldLeftOffset' + #layout: #(#LayoutFrame 200 0 36 0 250 0 58 0) + #activeHelpKey: #leftAbsolute + #tabable: true + #model: #leftOffset + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionAbsoluteLeft' + #layout: #(#LayoutFrame 255 0 36 0 277 0 58 0) + #activeHelpKey: #makeLeftAbsolute + #model: #absoluteLeft + ) + #(#LabelSpec + #name: 'labelTop' + #layout: #(#AlignmentOrigin 98 0 66 0 1 0) + #label: 'Top:' + ) + #(#InputFieldSpec + #name: 'fieldTopFraction' + #layout: #(#LayoutFrame 100 0 63 0 150 0 85 0) + #activeHelpKey: #topRelative + #tabable: true + #model: #topFraction + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionRelativeTop' + #layout: #(#LayoutFrame 155 0 63 0 177 0 85 0) + #activeHelpKey: #makeTopRelative + #model: #relativeTop + ) + #(#InputFieldSpec + #name: 'fieldTopOffset' + #layout: #(#LayoutFrame 200 0 63 0 250 0 85 0) + #activeHelpKey: #topAbsolute + #tabable: true + #model: #topOffset + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionAbsoluteTop' + #layout: #(#LayoutFrame 255 0 63 0 277 0 85 0) + #activeHelpKey: #makeTopAbsolute + #model: #absoluteTop + ) + ) + ) + #label: 'Origin' + #labelPosition: #topLeft ) ) ) @@ -296,42 +308,54 @@ #window: #(#WindowSpec #name: 'UILayoutTool' - #layout: #(#LayoutFrame 565 0 276 0 754 0 352 0) + #layout: #(#LayoutFrame 84 0 479 0 361 0 602 0) #label: 'UILayoutTool' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 565 276 755 353) + #bounds: #(#Rectangle 84 479 362 603) #usePreferredExtent: false ) #component: #(#SpecCollection #collection: #( - #(#LabelSpec - #name: 'labelOriginX' - #layout: #(#AlignmentOrigin 78 0 23 0 1 0) - #label: 'Origin x:' - ) - #(#InputFieldSpec - #name: 'fieldOriginX' - #layout: #(#LayoutFrame 80 0 20 0 173 0 42 0) - #activeHelpKey: #originX - #tabable: true - #model: #leftOffset - #type: #numberOrNil - ) - #(#LabelSpec - #name: 'labelOriginY' - #layout: #(#AlignmentOrigin 78 0 50 0 1 0) - #label: 'Origin y:' - ) - #(#InputFieldSpec - #name: 'fieldOriginY' - #layout: #(#LayoutFrame 80 0 47 0 173 0 69 0) - #activeHelpKey: #originY - #tabable: true - #model: #topOffset - #type: #numberOrNil + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 94 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'labelOriginY' + #layout: #(#AlignmentOrigin 98 0 28 0 1 0) + #label: 'Left:' + ) + #(#InputFieldSpec + #name: 'fieldOriginX' + #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0) + #activeHelpKey: #originX + #tabable: true + #model: #leftOffset + #type: #numberOrNil + ) + #(#LabelSpec + #name: 'labelOriginX' + #layout: #(#AlignmentOrigin 98 0 53 0 1 0) + #label: 'Top:' + ) + #(#InputFieldSpec + #name: 'fieldOriginY' + #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0) + #activeHelpKey: #originY + #tabable: true + #model: #topOffset + #type: #numberOrNil + ) + ) + ) + #label: 'Origin' + #labelPosition: #topLeft ) ) ) @@ -797,11 +821,11 @@ #window: #(#WindowSpec #name: 'UILayoutTool-AlignmentOrigin' - #layout: #(#LayoutFrame 206 0 285 0 473 0 489 0) + #layout: #(#LayoutFrame 363 0 402 0 767 0 608 0) #label: 'UILayoutTool-AlignmentOrigin' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 206 285 474 490) + #bounds: #(#Rectangle 363 402 768 609) #usePreferredExtent: false ) #component: @@ -809,112 +833,122 @@ #collection: #( #(#UISubSpecification - #name: 'subSpec' - #layout: #(#LayoutOrigin 0 0 0 0) + #name: 'layoutOriginSpec' + #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 111 0) #majorKey: #UILayoutTool #minorKey: #layoutOriginSpec ) - #(#LabelSpec - #name: 'alignHLabel' - #layout: #(#AlignmentOrigin 78 0 102 0 1 0) - #label: 'Align H:' - #adjust: #right - ) - #(#LabelSpec - #name: 'alignVLabel' - #layout: #(#AlignmentOrigin 78 0 128 0 1 0) - #label: 'Align V:' - #adjust: #right - ) - #(#InputFieldSpec - #name: 'leftAlignmentFractionField' - #layout: #(#LayoutFrame 80 0 99 0 137 0 121 0) - #activeHelpKey: #alignHorizontal - #tabable: true - #model: #leftAlignmentFraction - #type: #numberOrNil - ) - #(#InputFieldSpec - #name: 'topAlignmentFractionField' - #layout: #(#LayoutFrame 80 0 125 0 137 0 147 0) - #activeHelpKey: #alignVertical - #tabable: true - #model: #topAlignmentFraction - #type: #numberOrNil - ) - #(#DividerSpec - #name: 'separator1' - #layout: #(#Rectangle 166 103 215 106) - #orientation: #horizontal - ) - #(#DividerSpec - #name: 'separator2' - #layout: #(#Rectangle 166 133 215 136) - #orientation: #horizontal - ) - #(#DividerSpec - #name: 'separator3' - #layout: #(#Rectangle 161 111 164 132) - #orientation: #vertical - ) - #(#DividerSpec - #name: 'separator4' - #layout: #(#Rectangle 217 111 220 132) - #orientation: #vertical - ) - #(#ActionButtonSpec - #name: 'alignBottomRight' - #layout: #(#Rectangle 213 131 225 143) - #activeHelpKey: #alignBottomRight - #model: #alignBottomRight - ) - #(#ActionButtonSpec - #name: 'alignTopLeft' - #layout: #(#Rectangle 157 100 169 112) - #activeHelpKey: #alignTopLeft - #model: #alignTopLeft - ) - #(#ActionButtonSpec - #name: 'alignTopRight' - #layout: #(#Rectangle 213 100 225 112) - #activeHelpKey: #alignTopRight - #model: #alignTopRight - ) - #(#ActionButtonSpec - #name: 'alignBottomLeft' - #layout: #(#Rectangle 157 130 169 142) - #activeHelpKey: #alignBottomLeft - #model: #alignBottomLeft - ) - #(#ActionButtonSpec - #name: 'alignTopCenter' - #layout: #(#Rectangle 185 100 197 112) - #activeHelpKey: #alignTopCenter - #model: #alignTopCenter - ) - #(#ActionButtonSpec - #name: 'alignBottomCenter' - #layout: #(#Rectangle 185 131 197 143) - #activeHelpKey: #alignBottomCenter - #model: #alignBottomCenter - ) - #(#ActionButtonSpec - #name: 'alignLeftCenter' - #layout: #(#Rectangle 157 115 169 127) - #activeHelpKey: #alignLeftCenter - #model: #alignLeftCenter - ) - #(#ActionButtonSpec - #name: 'alignRightCenter' - #layout: #(#Rectangle 213 115 225 127) - #activeHelpKey: #alignRightCenter - #model: #alignRightCenter - ) - #(#ActionButtonSpec - #name: 'alignCenter' - #layout: #(#Rectangle 185 115 197 127) - #activeHelpKey: #alignCenter - #model: #alignCenter + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 1 0.0 113 0 0 1.0 208 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'alignHLabel' + #layout: #(#AlignmentOrigin 98 0 28 0 1 0) + #label: 'Horizontal:' + #adjust: #right + ) + #(#LabelSpec + #name: 'alignVLabel' + #layout: #(#AlignmentOrigin 98 0 54 0 1 0) + #label: 'Vertical:' + #adjust: #right + ) + #(#InputFieldSpec + #name: 'leftAlignmentFractionField' + #layout: #(#LayoutFrame 100 0 25 0 157 0 47 0) + #activeHelpKey: #alignHorizontal + #tabable: true + #model: #leftAlignmentFraction + #type: #numberOrNil + ) + #(#InputFieldSpec + #name: 'topAlignmentFractionField' + #layout: #(#LayoutFrame 100 0 51 0 157 0 73 0) + #activeHelpKey: #alignVertical + #tabable: true + #model: #topAlignmentFraction + #type: #numberOrNil + ) + #(#DividerSpec + #name: 'separator1' + #layout: #(#LayoutFrame 214 0 30 0 255 0 33 0) + ) + #(#DividerSpec + #name: 'separator2' + #layout: #(#LayoutFrame 214 0 66 0 255 0 69 0) + ) + #(#DividerSpec + #name: 'separator3' + #layout: #(#LayoutFrame 206 0 39 0 209 0 61 0) + #orientation: #vertical + ) + #(#DividerSpec + #name: 'separator4' + #layout: #(#LayoutFrame 260 0 39 0 263 0 61 0) + #orientation: #vertical + ) + #(#ActionButtonSpec + #name: 'alignBottomRight' + #layout: #(#LayoutFrame 255 0 61 0 269 0 75 0) + #activeHelpKey: #alignBottomRight + #model: #alignBottomRight + ) + #(#ActionButtonSpec + #name: 'alignTopLeft' + #layout: #(#LayoutFrame 200 0 25 0 214 0 39 0) + #activeHelpKey: #alignTopLeft + #model: #alignTopLeft + ) + #(#ActionButtonSpec + #name: 'alignTopRight' + #layout: #(#LayoutFrame 255 0 25 0 269 0 39 0) + #activeHelpKey: #alignTopRight + #model: #alignTopRight + ) + #(#ActionButtonSpec + #name: 'alignBottomLeft' + #layout: #(#LayoutFrame 200 0 61 0 214 0 75 0) + #activeHelpKey: #alignBottomLeft + #model: #alignBottomLeft + ) + #(#ActionButtonSpec + #name: 'alignTopCenter' + #layout: #(#LayoutFrame 227 0 25 0 241 0 39 0) + #activeHelpKey: #alignTopCenter + #model: #alignTopCenter + ) + #(#ActionButtonSpec + #name: 'alignBottomCenter' + #layout: #(#LayoutFrame 227 0 61 0 241 0 75 0) + #activeHelpKey: #alignBottomCenter + #model: #alignBottomCenter + ) + #(#ActionButtonSpec + #name: 'alignLeftCenter' + #layout: #(#LayoutFrame 200 0 43 0 214 0 57 0) + #activeHelpKey: #alignLeftCenter + #model: #alignLeftCenter + ) + #(#ActionButtonSpec + #name: 'alignRightCenter' + #layout: #(#LayoutFrame 255 0 43 0 269 0 57 0) + #activeHelpKey: #alignRightCenter + #model: #alignRightCenter + ) + #(#ActionButtonSpec + #name: 'alignCenter' + #layout: #(#LayoutFrame 227 0 43 0 241 0 57 0) + #activeHelpKey: #alignCenter + #model: #alignCenter + ) + ) + ) + #label: 'Alignment' + #labelPosition: #topLeft ) ) ) @@ -1086,16 +1120,17 @@ !UILayoutTool::Extent class methodsFor:'interface specs'! windowSpec - "this window spec was automatically generated by the ST/X UIPainter" + "This resource specification was automatically generated + by the UIPainter of ST/X." - "do not manually edit this - the painter/builder may not be able to - handle the specification if its corrupted." + "Do not manually edit this!! If it is corrupted, + the UIPainter may not be able to read the specification." " UIPainter new openOnClass:UILayoutTool::Extent andSelector:#windowSpec UILayoutTool::Extent new openInterface:#windowSpec + UILayoutTool::Extent open " - "UILayoutTool::Extent open" @@ -1105,44 +1140,56 @@ #window: #(#WindowSpec #name: 'UILayoutTool-Extent' - #layout: #(#LayoutFrame 31 0 423 0 256 0 508 0) + #layout: #(#LayoutFrame 54 0 340 0 379 0 488 0) #label: 'UILayoutTool-Extent' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 31 423 257 509) + #bounds: #(#Rectangle 54 340 380 489) #usePreferredExtent: false ) #component: #(#SpecCollection #collection: #( - #(#LabelSpec - #name: 'labelWidth' - #layout: #(#AlignmentOrigin 79 0 31 0 1 0.5) - #label: 'Width:' - #adjust: #right - ) - #(#InputFieldSpec - #name: 'fieldLeftOffset' - #layout: #(#LayoutFrame 80 0 20 0 173 0 42 0) - #activeHelpKey: #hrzExtent - #tabable: true - #model: #leftOffset - #type: #numberOrNil - ) - #(#LabelSpec - #name: 'labelHeight' - #layout: #(#AlignmentOrigin 79 0 58 0 1 0.5) - #label: 'Height:' - #adjust: #right - ) - #(#InputFieldSpec - #name: 'fieldRightOffset' - #layout: #(#LayoutFrame 80 0 47 0 173 0 69 0) - #activeHelpKey: #vrtExtent - #tabable: true - #model: #rightOffset - #type: #numberOrNil + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 0 0.0 6 0.0 0 1.0 100 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'labelWidth' + #layout: #(#AlignmentOrigin 99 0 36 0 1 0.5) + #label: 'Width:' + #adjust: #right + ) + #(#InputFieldSpec + #name: 'fieldLeftOffset' + #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0) + #activeHelpKey: #hrzExtent + #tabable: true + #model: #leftOffset + #type: #numberOrNil + ) + #(#LabelSpec + #name: 'labelHeight' + #layout: #(#AlignmentOrigin 99 0 61 0 1 0.5) + #label: 'Height:' + #adjust: #right + ) + #(#InputFieldSpec + #name: 'fieldRightOffset' + #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0) + #activeHelpKey: #vrtExtent + #tabable: true + #model: #rightOffset + #type: #numberOrNil + ) + ) + ) + #label: 'Extent' + #labelPosition: #topLeft ) ) ) @@ -1219,16 +1266,17 @@ !UILayoutTool::LayoutFrame class methodsFor:'interface specs'! windowSpec - "this window spec was automatically generated by the ST/X UIPainter" + "This resource specification was automatically generated + by the UIPainter of ST/X." - "do not manually edit this - the painter/builder may not be able to - handle the specification if its corrupted." + "Do not manually edit this!! If it is corrupted, + the UIPainter may not be able to read the specification." " UIPainter new openOnClass:UILayoutTool::LayoutFrame andSelector:#windowSpec UILayoutTool::LayoutFrame new openInterface:#windowSpec + UILayoutTool::LayoutFrame open " - "UILayoutTool::LayoutFrame open" @@ -1238,84 +1286,97 @@ #window: #(#WindowSpec #name: 'UILayoutTool-LayoutFrame' - #layout: #(#LayoutFrame 31 0 423 0 280 0 615 0) + #layout: #(#LayoutFrame 149 0 418 0 547 0 651 0) #label: 'UILayoutTool-LayoutFrame' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 31 423 281 616) + #bounds: #(#Rectangle 149 418 548 652) #usePreferredExtent: false + #forceRecursiveBackground: false ) #component: #(#SpecCollection #collection: #( #(#UISubSpecification - #name: 'subLayoutSpec' - #layout: #(#LayoutOrigin 0 0 0 0) + #name: 'layoutOriginSpec' + #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 110 0) #majorKey: #UILayoutTool #minorKey: #layoutOriginSpec ) - #(#LabelSpec - #name: 'labelRight' - #layout: #(#AlignmentOrigin 78 0 101 0 1 0) - #label: 'Right:' - ) - #(#InputFieldSpec - #name: 'fieldRightFraction' - #layout: #(#LayoutFrame 80 0 98 0 137 0 120 0) - #activeHelpKey: #rightRelative - #model: #rightFraction - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionRelativeRight' - #layout: #(#LayoutFrame 142 0 98 0 161 0 116 0) - #activeHelpKey: #makeRightRelative - #model: #relativeRight - ) - #(#InputFieldSpec - #name: 'fieldRightOffset' - #layout: #(#LayoutFrame 177 0 98 0 235 0 120 0) - #activeHelpKey: #rightAbsolute - #model: #rightOffset - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionAbsoluteRight' - #layout: #(#LayoutFrame 239 0 98 0 258 0 116 0) - #activeHelpKey: #makeRightAbsolute - #model: #absoluteRight - ) - #(#LabelSpec - #name: 'labelBottom' - #layout: #(#AlignmentOrigin 78 0 129 0 1 0) - #label: 'Bottom:' - ) - #(#InputFieldSpec - #name: 'fieldBottomFraction' - #layout: #(#LayoutFrame 80 0 126 0 137 0 148 0) - #activeHelpKey: #bottomRelative - #model: #bottomFraction - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionRelativeBottom' - #layout: #(#LayoutFrame 142 0 126 0 161 0 144 0) - #activeHelpKey: #makeBottomRelative - #model: #relativeBottom - ) - #(#InputFieldSpec - #name: 'fieldBottomOffset' - #layout: #(#LayoutFrame 177 0 126 0 234 0 148 0) - #activeHelpKey: #bottomAbsolute - #model: #bottomOffset - #type: #numberOrNil - ) - #(#ActionButtonSpec - #name: 'actionAbsoluteBottom' - #layout: #(#LayoutFrame 239 0 126 0 258 0 144 0) - #activeHelpKey: #makeBottomAbsolute - #model: #absoluteBottom + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 1 0.0 113 0 0 1.0 214 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'labelRight' + #layout: #(#AlignmentOrigin 98 0 36 0 1 0.5) + #label: 'Right:' + ) + #(#InputFieldSpec + #name: 'fieldRightFraction' + #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0) + #activeHelpKey: #rightRelative + #model: #rightFraction + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionRelativeRight' + #layout: #(#LayoutFrame 155 0 25 0 177 0 47 0) + #activeHelpKey: #makeRightRelative + #model: #relativeRight + ) + #(#InputFieldSpec + #name: 'fieldRightOffset' + #layout: #(#LayoutFrame 200 0 25 0 250 0 47 0) + #activeHelpKey: #rightAbsolute + #model: #rightOffset + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionAbsoluteRight' + #layout: #(#LayoutFrame 255 0 25 0 277 0 47 0) + #activeHelpKey: #makeRightAbsolute + #model: #absoluteRight + ) + #(#LabelSpec + #name: 'labelBottom' + #layout: #(#AlignmentOrigin 98 0 64 0 1 0.5) + #label: 'Bottom:' + ) + #(#InputFieldSpec + #name: 'fieldBottomFraction' + #layout: #(#LayoutFrame 100 0 53 0 150 0 75 0) + #activeHelpKey: #bottomRelative + #model: #bottomFraction + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionRelativeBottom' + #layout: #(#LayoutFrame 155 0 53 0 177 0 75 0) + #activeHelpKey: #makeBottomRelative + #model: #relativeBottom + ) + #(#InputFieldSpec + #name: 'fieldBottomOffset' + #layout: #(#LayoutFrame 200 0 53 0 250 0 75 0) + #activeHelpKey: #bottomAbsolute + #model: #bottomOffset + #type: #numberOrNil + ) + #(#ActionButtonSpec + #name: 'actionAbsoluteBottom' + #layout: #(#LayoutFrame 255 0 53 0 277 0 75 0) + #activeHelpKey: #makeBottomAbsolute + #model: #absoluteBottom + ) + ) + ) + #label: 'Corner' + #labelPosition: #topLeft ) ) ) @@ -1383,11 +1444,11 @@ #window: #(#WindowSpec #name: 'UILayoutTool-LayoutOrigin' - #layout: #(#LayoutFrame 417 0 298 0 674 0 390 0) + #layout: #(#LayoutFrame 290 0 420 0 647 0 565 0) #label: 'UILayoutTool-LayoutOrigin' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 417 298 675 391) + #bounds: #(#Rectangle 290 420 648 566) #usePreferredExtent: false ) #component: @@ -1395,8 +1456,8 @@ #collection: #( #(#UISubSpecification - #name: 'subSpec' - #layout: #(#LayoutOrigin 0 0 0 0) + #name: 'layoutOriginSpec' + #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 110 0) #majorKey: #UILayoutTool #minorKey: #layoutOriginSpec ) @@ -1461,11 +1522,11 @@ #window: #(#WindowSpec #name: 'UILayoutTool-Point' - #layout: #(#LayoutFrame 427 0 336 0 635 0 423 0) + #layout: #(#LayoutFrame 324 0 410 0 618 0 547 0) #label: 'UILayoutTool-Point' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 427 336 636 424) + #bounds: #(#Rectangle 324 410 619 548) #usePreferredExtent: false ) #component: @@ -1473,8 +1534,8 @@ #collection: #( #(#UISubSpecification - #name: 'subSpec' - #layout: #(#LayoutOrigin 0 0 0 0) + #name: 'layoutPointSpec' + #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 100 0) #majorKey: #UILayoutTool #minorKey: #layoutPointSpec ) @@ -1529,11 +1590,11 @@ #window: #(#WindowSpec #name: 'UILayoutTool-Rectangle' - #layout: #(#LayoutFrame 357 0 349 0 580 0 494 0) + #layout: #(#LayoutFrame 339 0 411 0 680 0 609 0) #label: 'UILayoutTool-Rectangle' #min: #(#Point 10 10) #max: #(#Point 1152 900) - #bounds: #(#Rectangle 357 349 581 495) + #bounds: #(#Rectangle 339 411 681 610) #usePreferredExtent: false ) #component: @@ -1542,37 +1603,49 @@ #( #(#UISubSpecification #name: 'subSpecification' - #layout: #(#LayoutOrigin 0 0 0 0) + #layout: #(#LayoutFrame 1 0.0 6 0 0 1.0 96 0) #majorKey: #UILayoutTool #minorKey: #layoutPointSpec ) - #(#LabelSpec - #name: 'labelCornerX' - #layout: #(#AlignmentOrigin 78 0 77 0 1 0) - #label: 'Corner x:' - #adjust: #left - ) - #(#InputFieldSpec - #name: 'fieldCornerX' - #layout: #(#LayoutFrame 80 0 74 0 173 0 96 0) - #activeHelpKey: #cornerX - #tabable: true - #model: #rightOffset - #type: #numberOrNil - ) - #(#LabelSpec - #name: 'labelCornerY' - #layout: #(#AlignmentOrigin 78 0 104 0 1 0) - #label: 'Corner y:' - #adjust: #left - ) - #(#InputFieldSpec - #name: 'fieldCornerY' - #layout: #(#LayoutFrame 80 0 101 0 173 0 123 0) - #activeHelpKey: #cornerY - #tabable: true - #model: #bottomOffset - #type: #numberOrNil + #(#FramedBoxSpec + #name: 'FramedBox' + #layout: #(#LayoutFrame 1 0.0 99 0 0 1.0 194 0) + #component: + #(#SpecCollection + #collection: + #( + #(#LabelSpec + #name: 'labelCornerY' + #layout: #(#AlignmentOrigin 98 0 28 0 1 0) + #label: 'Right:' + #adjust: #left + ) + #(#InputFieldSpec + #name: 'fieldCornerX' + #layout: #(#LayoutFrame 100 0 25 0 150 0 47 0) + #activeHelpKey: #cornerX + #tabable: true + #model: #rightOffset + #type: #numberOrNil + ) + #(#LabelSpec + #name: 'labelCornerX' + #layout: #(#AlignmentOrigin 98 0 53 0 1 0) + #label: 'Bottom:' + #adjust: #left + ) + #(#InputFieldSpec + #name: 'fieldCornerY' + #layout: #(#LayoutFrame 100 0 50 0 150 0 72 0) + #activeHelpKey: #cornerY + #tabable: true + #model: #bottomOffset + #type: #numberOrNil + ) + ) + ) + #label: 'Corner' + #labelPosition: #topLeft ) ) )