Andreas Raab uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ar.226.mcz ==================== Summary ==================== Name: Tools-ar.226 Author: ar Time: 5 April 2010, 8:28:33.181 pm UUID: c0b7f08b-e3a0-3943-b980-e938372476f5 Ancestors: Tools-fbs.224, Tools-fbs.225 Merging Tools-fbs.225: Fixes Mantis issue 7494: HierarchyBrowser's classes pane sits nicely below the single-category pane. =============== Diff against Tools-fbs.224 =============== Item was changed: ----- Method: Browser>>classListFrame:fromLeft:width: (in category 'initialize-release') ----- classListFrame: bottomFraction fromLeft: leftFraction width: rightFraction + ^self + classListFrame: bottomFraction + fromTop: 0 + fromLeft: leftFraction + width: rightFraction.! - ^LayoutFrame new - leftFraction: leftFraction offset: 0; - topFraction: 0 offset: 0; - rightFraction: (leftFraction + rightFraction) offset: 0; - bottomFraction: bottomFraction offset: self buttonHeight negated - 3! Item was changed: ----- Method: Browser>>classListFrame: (in category 'initialize-release') ----- classListFrame: bottomFraction + ^self + classListFrame: bottomFraction + fromTop: 0 + fromLeft: 0.25 + width: 0.25.! - ^self classListFrame: bottomFraction fromLeft: 0.25 width: 0.25.! Item was changed: ----- Method: Browser>>openSystemCatEditString: (in category 'initialize-release') ----- openSystemCatEditString: aString "Create a pluggable version of all the views for a Browser, including views and controllers. The top list view is of the currently selected system class category--a single item list." "Example: Browser new browseAllClasses. " + | builder catPaneHeight max | + catPaneHeight := 0.08. - | builder max | builder := ToolBuilder default. + max := self wantsOptionalButtons ifTrue:[0.32 + catPaneHeight] ifFalse:[0.4 + catPaneHeight]. - max := self wantsOptionalButtons ifTrue:[0.32] ifFalse:[0.4]. ^self buildWindowWith: builder specs: { (0@0 corner: 1.0@0.08) -> [self buildSystemCatListSingletonWith: builder]. + (self classListFrame: max fromTop: catPaneHeight fromLeft: 0 width: 0.333) -> [self buildClassListWith: builder]. - (self classListFrame: max fromLeft: 0 width: 0.333) -> [self buildClassListWith: builder]. (self switchesFrame: max fromLeft: 0 width: 0.333) -> [self buildSwitchesWith: builder]. (0.333@0.08 corner: 0.666@max) -> [self buildMessageCategoryListWith: builder]. (0.666@0.08 corner: 1@max) -> [self buildMessageListWith: builder]. (0@max corner: 1@1) -> [self buildCodePaneWith: builder]. }! Item was added: + ----- Method: Browser>>classListFrame:fromTop:fromLeft:width: (in category 'initialize-release') ----- + classListFrame: bottomFraction fromTop: topFraction fromLeft: leftFraction width: rightFraction + ^LayoutFrame new + leftFraction: leftFraction offset: 0; + topFraction: topFraction offset: 0; + rightFraction: (leftFraction + rightFraction) offset: 0; + bottomFraction: bottomFraction offset: self buttonHeight negated - 3! |
Free forum by Nabble | Edit this page |