Feature Request

268 views
Skip to first unread message

justin levy

unread,
Jun 1, 2011, 12:46:41 PM6/1/11
to Pencil Users
I love Pencil. GREAT wireframing tool.

I kindly have a feature request. I noticed when I type text in text
boxes or shapes, there is no word wrap and the text, if lengthy, flows
outside the text box/shape. In other words, would it be possible to
include a text-wrap feature so text fits inside the box/shape?

-justin

Eduardo García Sanz

unread,
Jun 1, 2011, 12:53:45 PM6/1/11
to penci...@googlegroups.com
This issue is the same as mine and is related to the logic on each widget.

We need to modify the box bound size after the text changes, but I still don't know how...

http://groups.google.com/group/pencil-user/browse_thread/thread/6178b7d682cddedc

I'll try to fix it...


--
You received this message because you are subscribed to the Google Groups "Pencil Users" group.
To post to this group, send email to penci...@googlegroups.com.
To unsubscribe from this group, send email to pencil-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pencil-user?hl=en.


justin levy

unread,
Jun 1, 2011, 1:03:03 PM6/1/11
to Pencil Users
Try posting on stackoverflow. If I was a programmer I would help.

I will try and get a coder friend to help.

-justin

On Jun 1, 12:53 pm, Eduardo García Sanz <edulacomadr...@gmail.com>
wrote:
> This issue is the same as mine and is related to the logic on each widget.
>
> We need to modify the box bound size after the text changes, but I still
> don't know how...
>
> http://groups.google.com/group/pencil-user/browse_thread/thread/6178b...

Eduardo García Sanz

unread,
Jun 1, 2011, 2:23:09 PM6/1/11
to penci...@googlegroups.com
Nope, I use StackOverflow a lot but trust me, there is nothing about Evolus Pencil in SO. We should try to improve this software!

Aleksi Yrttiaho

unread,
Jun 1, 2011, 2:57:48 PM6/1/11
to penci...@googlegroups.com
Hi,

Pencil already does word wrapping: words that are too long to fit in
the line and are not the first word of the line are moved to the
beginning of the next line.

I believe you're looking for the word breaking: words that are too
long are broken between any two letters so that the maximum width of
the text block is filled.

I have seldom seen the combination of the two even though that is
probably what is most needed i.e. break words only if all else fails.

There are at least two other solutions to the problem.

1) resizing the containing element as Eduardo has suggested
2) resizing the text in the element as it is done in PowerPoint.

I'll think about this but I cannot promise you anything and more
importantly I cannot promise a timebox as my time is already quite
limited. Currently, my main concern (regarding pencil) is to make
sure it works with Firefox 4 without too many changes that break the
compatibility with the current version and the customs stencils
already created.

-- aleksi

Aleksi Yrttiaho

unread,
Jun 1, 2011, 3:37:11 PM6/1/11
to penci...@googlegroups.com
Simplest solution for breaking words might be to add style rule to the
text element in the stencil's definition.xml:

style = " [...]; word-wrap: break-word; [...]"

A more advanced solution would add the rule as a stencil property.

The break-word rule worked better than I remembered as shown in
http://jsfiddle.net/wdP6K/.

-- aleksi

Narendran S

unread,
May 17, 2013, 10:09:10 AM5/17/13
to penci...@googlegroups.com, justin...@gmail.com
Use rectangle shape and remove border color and change bg color. Then double click that shape. Now paste your content or type the paragraph.

-Naren
Reply all
Reply to author
Forward
0 new messages