CodeCity platform "padding"

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

CodeCity platform "padding"

Uko2
Hi everyone,

we all have seen how cool CodeCity can the visualisation be on example of Pharo3 changes. But my question is: can we make platform to be somehow wider than the “wall” inside of it? Because in my case colour of a platform may not be the same as all the nodes on the wall and it’s hard to understand if it’s the platform that is red or the nodes at the bottom of the wall.

I’ve tried to do "wallLayout outerGap: 5 asCCPoint”, and it gives the desired result, but then walls also start to float above platforms.

I’d be thankful for any suggestion.
Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: CodeCity platform "padding"

Richard Wettel-3
Hi Uko

5 asCCPoint is equivalent to (CCPoint x: 5 y: 5 z: 5).
As I understand you need to increase the outer gap only along the horizontal axes (x and z). For this, you can do:
CCPoint x: 5 y: 0 z: 5
or more conveniently:
CCPoint xz: 5 y: 0.
You can also tweak the vertical outer gap by changing y.

Cheers
Ricky


On Fri, May 23, 2014 at 1:02 PM, Yuriy Tymchuk <[hidden email]> wrote:
Hi everyone,

we all have seen how cool CodeCity can the visualisation be on example of Pharo3 changes. But my question is: can we make platform to be somehow wider than the “wall” inside of it? Because in my case colour of a platform may not be the same as all the nodes on the wall and it’s hard to understand if it’s the platform that is red or the nodes at the bottom of the wall.

I’ve tried to do "wallLayout outerGap: 5 asCCPoint”, and it gives the desired result, but then walls also start to float above platforms.

I’d be thankful for any suggestion.
Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev