MathGroup Archive 2008

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

Search the Archive

Truncated GUIKit-MathPanel Output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92222] Truncated GUIKit-MathPanel Output
  • From: raffy at mac.com
  • Date: Tue, 23 Sep 2008 07:33:54 -0400 (EDT)

Hello,

I'm having really strange results when trying to plot or represent
data in a MathPanel widget.

When I try to represent a large graphical object (ie. larger than 800
px wide or so) the MathPanel output will become truncated, regardless
of the actual dimensions of the MathPanel widget.

The problem is made worse when the function that creates the MathPanel
widget and displays the data, is called from an GUIKit event.  Under
this scenerio, the truncation occurs around 600 px or so.

Has anyone else experienced this issue?
Thanks for the help,

-- Andrew

This code should demonstrate the issue:

Needs["GUIKit`"];

mp[q_] :=
  GUIRun[Widget[
    "MathPanel", {"MathCommand" -> ToString[q, InputForm],
     "PreferredSize" ->
      Widget["Dimension", {"Width" -> 1000, "Height" -> 400}]}]];

mp[RandomReal[{10^9, 10^10}, {15, 15}] // TableForm]



  • Prev by Date: Re: blurry ellipse
  • Next by Date: Re: Re: External packages, Manipulate, and MathPlayer
  • Previous by thread: save as nbp front end feature (suggestion to wolfram)
  • Next by thread: Re: Truncated GUIKit-MathPanel Output