The Trunk: ToolBuilder-MVC-mt.42.mcz

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

The Trunk: ToolBuilder-MVC-mt.42.mcz

commits-2
Marcel Taeumel uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-mt.42.mcz

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

Name: ToolBuilder-MVC-mt.42
Author: mt
Time: 3 May 2015, 3:14:38.18 pm
UUID: f1b2eb4e-2140-c445-a31f-c4c95ad44334
Ancestors: ToolBuilder-MVC-mt.41

A simple implementation for spacers.

=============== Diff against ToolBuilder-MVC-mt.41 ===============

Item was added:
+ ----- Method: MVCToolBuilder>>buildPluggableSpacer: (in category 'widgets required') -----
+ buildPluggableSpacer: aSpec
+
+ | widget |
+ widget := View new.
+ self register: widget id: aSpec name.
+
+ widget borderWidth: 0.
+ widget backgroundColor: aSpec color.
+ widget window: (widget window topLeft extent: aSpec extent).
+
+ self setFrame: aSpec frame in: widget.
+
+ parent ifNotNil:[parent addSubView: widget].
+ ^widget!