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

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

[Octave-bug-tracker] [bug #44331] ResizeFcn property does not work for u


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #44331] ResizeFcn property does not work for uipanel/uicontrol
Date: Sat, 15 Oct 2016 13:28:37 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

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

more specifically:

the resizefcn for the parent figure is called, not for the uipanel, for
example:


function bug_resize2
     resize2 = @(obj, foo) fprintf(1, 'resize2: called from %s\n', get(obj,
'Tag'));
     fg = figure('Tag', 'figure', 'resizefcn', resize2);
     up = uipanel(fg, 'Tag', 'panel', 'resizefcn', resize2, 'Position', [0 0 1
1]);
end


produces on matlab 2015b


resize2: called from figure
resize2: called from panel
resize2: called from panel
resize2: called from figure
resize2: called from panel
resize2: called from panel
resize2: called from figure


on octave-4.2.0-rc2


resize2: called from figure
resize2: called from figure
resize2: called from figure


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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