The Trunk: Tools-mt.606.mcz

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

The Trunk: Tools-mt.606.mcz

commits-2
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@0 corner: 0.39@1).
  panelSpec children addLast: buttonSpec.
 
  buttonSpec := builder pluggableButtonSpec new.
  buttonSpec
  model: self;
  label: '?';
  state: #classCommentIndicated;
+ action: #plusButtonHit.
- action: #plusButtonHit;
- frame: (0.41@0 corner: 0.59@1).
  panelSpec children addLast: buttonSpec.
 
  buttonSpec := builder pluggableButtonSpec new.
  buttonSpec
  model: self;
  label: 'class';
  state: #classMessagesIndicated;
+ action: #indicateClassMessages.
- action: #indicateClassMessages;
- frame: (0.61@0 corner: 1@1).
  panelSpec children addLast: buttonSpec.
 
  ^panelSpec!