[Pkg] The Trunk: Tools-mt.606.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 26 19:13:56 UTC 2015


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.606.mcz

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

Name: Tools-mt.606
Author: mt
Time: 26 April 2015, 9:13:24.148 pm
UUID: 8ec99b46-cbc7-bb45-aa56-f92f00dddec5
Ancestors: Tools-kfr.605

Use table layout for switches to better support low resolutions resp. small window sizes.

Note: THis is related to the way the minimal extent is calculated in #minExtentOf:in: in ProportionalLayouts.

=============== Diff against Tools-kfr.605 ===============

Item was changed:
  ----- Method: Browser>>buildSwitchesWith: (in category 'toolbuilder') -----
  buildSwitchesWith: builder
  	"Build the instance/comment/class switch"
+ 
  	| panelSpec buttonSpec |
+ 	panelSpec := builder pluggablePanelSpec new
+ 		layout: #horizontal;
+ 		children: OrderedCollection new;
+ 		yourself.
- 	panelSpec := builder pluggablePanelSpec new.
- 	panelSpec children: OrderedCollection new.
  
  	buttonSpec := builder pluggableButtonSpec new.
  	buttonSpec 
  			model: self;
  			label: 'instance'; 
  			state: #instanceMessagesIndicated; 
+ 			action: #indicateInstanceMessages.
- 			action: #indicateInstanceMessages;
- 			frame: (0 at 0 corner: 0.39 at 1).
  	panelSpec children addLast: buttonSpec.
  
  	buttonSpec := builder pluggableButtonSpec new.
  	buttonSpec 
  			model: self;
  			label: '?'; 
  			state: #classCommentIndicated; 
+ 			action: #plusButtonHit.
- 			action: #plusButtonHit;
- 			frame: (0.41 at 0 corner: 0.59 at 1).
  	panelSpec children addLast: buttonSpec.
  
  	buttonSpec := builder pluggableButtonSpec new.
  	buttonSpec 
  			model: self;
  			label: 'class'; 
  			state: #classMessagesIndicated; 
+ 			action: #indicateClassMessages.
- 			action: #indicateClassMessages;
- 			frame: (0.61 at 0 corner: 1 at 1).
  	panelSpec children addLast: buttonSpec.
  
  	^panelSpec!



More information about the Packages mailing list