The Inbox: ToolBuilder-MVC-bp.19.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: ToolBuilder-MVC-bp.19.mcz

commits-2
A new version of ToolBuilder-MVC was added to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-MVC-bp.19.mcz

==================== Summary ====================

Name: ToolBuilder-MVC-bp.19
Author: bp
Time: 2 April 2010, 11:37:19.607 pm
UUID: ee4164eb-fca3-4d5f-af5c-3155f9d7ea6b
Ancestors: ToolBuilder-MVC-dtl.18

add support for LayoutFrames in addition to Rectangle frames

=============== Diff against ToolBuilder-MVC-dtl.18 ===============

Item was changed:
  ----- Method: MVCToolBuilder>>setFrame:in: (in category 'private') -----
+ setFrame: fractionsRectangleOrLayoutFrame in: widget
- setFrame: aRectangle in: widget
  | win |
+ fractionsRectangleOrLayoutFrame ifNil: [^nil].
+ win := fractionsRectangleOrLayoutFrame isRectangle
+ ifTrue: [self asWindow: fractionsRectangleOrLayoutFrame]
+ ifFalse: [fractionsRectangleOrLayoutFrame layout: nil in: topSize]. "assume LayoutFrame"
- aRectangle ifNil:[^nil].
- win := self asWindow: aRectangle.
  widget window: win.!