Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Pane in the Magnification

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80077] Pane in the Magnification
  • From: Fred Klingener <gigabitbucket at BrockEng.com>
  • Date: Sun, 12 Aug 2007 07:11:50 -0400 (EDT)

Mathematica 6.0.1
Windows XP

It took me an hour or two to meticulously construct a Grid of Panes
and Graphics, then a couple of days trying to control the layout.
Until, completely by chance, I stumbled on the observation that
Graphics, controlled with an ImageSize Option changes size with cell
Magnification (set by Format>Magnification, by Windows>Magnification,
or by the popup at the bottom right of a notebook window) while Pane,
controlled by its second parameter doesn't, although its contents do.

Here's a minimal code scrap to illustrate

Row[{
Framed@Graphics[Text["Hello, World!"],ImageSize->{100,100}]
,Framed@Pane["Hello,World!
Options = "<>ToString[Options[Magnification]],{100,100}]
}]

So a couple of questions arise. Starting with:

Is there a way to poll the output cell to find its Magnification
(Options[] evidently produces nothing) and adjust the size spec
accordingly?

Then, if I have ambitions to eventually deploy this to others, is this
a bug that might some day be fixed, breaking my fix?

TIA,
Fred Klingener



  • Prev by Date: replace jpg with animated gif?
  • Next by Date: Re: Mathematica v5 versus v6
  • Previous by thread: Re: replace jpg with animated gif?
  • Next by thread: Foucault pendulum