[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IDLgrLegend geometry
- Subject: Re: IDLgrLegend geometry
- From: davidf(at)dfanning.com (David Fanning)
- Date: Mon, 26 Feb 2001 16:46:17 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3A9ADE5F.8EBCBE71@mhl.nsw.gov.au>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23689
George Constantinides (email@example.com) writes:
> I was resizing an IDLgrWindow object and noticed that objects such as
> IDLgrAxis, IDLgrPlot,IDLgrText resized correctly to fit the new
> dimensions, but IDLgrLegend did not.
> This topic has been discussed in the past but with the demise of the
> DejaNews news group database, I could not find any references.
> So here is a work around that works well on the screen (IDLgrWindow) but
> when you send the View to another output object such as IDLgrPrinter,
> the fixed geometry of IDLgrLegend becomes a problem again.
Humm. It's pretty clear that the author of IDLgrLegend
was *trying* to solve this problem in the ComputeDimensions
method. Have you tried using this when you resize or change
to another destination device? It looks to me like this
would solve all your problems, although I confess I've
never used IDLgrLegend.
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: firstname.lastname@example.org
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155