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

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

[Octave-bug-tracker] [bug #46025] Make display of coordinates in figure'


From: Rik
Subject: [Octave-bug-tracker] [bug #46025] Make display of coordinates in figure's status bar optional
Date: Fri, 25 Sep 2015 17:52:14 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #14, bug #46025 (project octave):

It seems that the interaction between toolbar and uicontrol is even stranger. 
If I simpply amend the code in comment #13 to turn off and then back on the
toolbar then it displays correctly.


F = figure('toolbar','figure');
uicontrol(F,'Style','Pushbutton','String','OK');
set (F, 'toolbar', 'none');
set (F, 'toolbar', 'figure');


This suggests an easy workaround which is to switch the 'toolbar' property to
'figure' *after* the creation of the uicontrol object.  This also works for
me.


F = figure;
uicontrol(F,'Style','Pushbutton','String','OK');
set (F, 'toolbar', 'figure');




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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