-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves overflow of grid results view by squeezing morphs into image…
…morph
- Loading branch information
Showing
8 changed files
with
70 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Class { | ||
#name : #SBGridResultsView, | ||
#superclass : #SBResultsView, | ||
#category : #'Sandblocks-Babylonian' | ||
} | ||
|
||
{ #category : #building } | ||
SBGridResultsView >> buildPermutationFor: aPermutation collectingWatchesFrom: aCollectionOfMethodBlocks [ | ||
|
||
self block addAllMorphsBack: { SBOwnTextMorph new contents: aPermutation asString. | ||
self applyButtonFor: aPermutation. | ||
(self containerRow listDirection: #leftToRight) | ||
addMorph: (( | ||
SBPermutationCluster | ||
newFromWatches: (self allWatchesIn: aCollectionOfMethodBlocks) | ||
havingSize: (SBMorphResizer newSmall))). | ||
LineMorph from: 0@0 to: 50@0 color: Color black width: 2} | ||
] | ||
|
||
{ #category : #initialization } | ||
SBGridResultsView >> initialize [ | ||
|
||
super initialize. | ||
|
||
self name: 'Grid View' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters