This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-03-03 05:46:53

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

How do you wrap block text?

How do you wrap blockspec text? A few of my blocks are really long and I'd like the block-specs to be multi-line text. How do I make it like that?

Offline

 

#2 2012-03-03 05:54:25

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: How do you wrap block text?

rdococ wrote:

How do you wrap blockspec text? A few of my blocks are really long and I'd like the block-specs to be multi-line text. How do I make it like that?

You mean like in BYOB how when you add more inputs to a block, it wraps to the next line?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#4 2012-03-03 06:14:49

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: How do you wrap block text?

rdococ wrote:

Yes. I want it to wrap block text to the next line.

Hmm... I can't really help because I haven't got BYOB on my computer any more so I can't look at the source code.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#5 2012-03-03 06:15:55

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Offline

 

#6 2012-03-03 06:19:06

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: How do you wrap block text?

rdococ wrote:

Why don't you download BYOB?

By the way, I might have BYOB on this small laptop.

We have terrible internet and it keeps getting "interrupted" every time I tried to download files usually over a certain size. I can't be bothered to find the external hard drive which has my backup from when I had Window 7 lol.

Last edited by nathanprocks (2012-03-03 06:19:58)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#7 2012-03-03 06:21:06

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: How do you wrap block text?

Ugh, Squeak keeps just copying the method name... I'm trying to gather fixBlockLayoutWrap and move methods in-between images, but Squeak has no features to help me.

Offline

 

#8 2012-03-03 11:51:56

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: How do you wrap block text?

rdococ wrote:

Ugh, Squeak keeps just copying the method name... I'm trying to gather fixBlockLayoutWrap and move methods in-between images, but Squeak has no features to help me.

Actually, if you open a simple change sorter (from the world menu > open…) in both images, you'll find a "jens - block label wrapping" changeset in the BYOB image. File that out (menu button > file out) and you'll have all those changes in one file. I would recommend opening the changeset file and scanning it for dependencies on previous changesets in the BYOB code (for example, take out the OSlotMorph-related code), then filing it in from the change sorter in your mod.


nXIII

Offline

 

Board footer