octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39555] figure toolbar is in wrong location


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39555] figure toolbar is in wrong location
Date: Tue, 23 Jul 2013 11:36:55 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

Follow-up Comment #1, bug #39555 (project octave):

Opps, I had a typo. Trying again.

On Mac OSX, when a figure is created, the toolbar is 20 pixels too high on the
figure window, and the figure window is 20 pixels too tall.

After

figure ()
axes ()

The attached "initial_figure.png" is displayed.

After 

pos = get (gcf (), "position");
set (gcf (), "position", pos + 1);
redraw ()
set (gcf (), "position", pos);

The attached "fixed_figure.png" is displayed.

I've attaching an ugly diff that fixes this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39555>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]