Re: Flowchart::box (again)



On Fri, 6 Sep 2002, Torben H. Nielsen wrote:

Is it true that the flowchart::box can not be resized ??

Yes, that's true.  So it should really have black handles instead of
green,
or else it should resize by adding padding.  You're most welcome to
file a
bug report, that way we'll get around to looking at it.

Well, Steffen has already filed # (he claims that it works OK on his
linux box - but I don't know how he's done that)

I tried to compare objects/flowchart/box.c with
objects/flowchart/diamond.c and objects/flowchart/parallelogram.c in an
attemp to figure out what's missing. I failed !!!

Now that's a challenge, of course.  It turns out that box.c calculates the
minimum width and height, just like the rest of them, but then always sets
elem->{width,height} to those values, rather than only when resizing made
them smaller.  Fixed now.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]