MATLAB: EasyGUI not working for version R2014b

gui

Hi I was using EasyGUI successfully with R2014a. But it stopped working with R2014b. The problem was that the object defined by uipanel no longer has the properties of 'widthlimits' and 'heightlimits'.
obj.UiGuiArea = uipanel('parent' ...
, obj.UiMainContainer, 'units' ...
, 'pixels', 'backgroundcolor' ...
, obj.BackgroundColor, 'tag' ...
, 'autogui-guiarea' );
set(obj.UiGuiArea, 'widthlimits', [1 1], 'heightlimits', [2 inf]);
The error was "There is no widthlimits property on the UIFlowContainer class." What is the physical meaning of 'widthlimits'? would be the alternative for it? Thanks for your help. Hopefully R2014b does not require a major overhaul for EasyGUI, which was handy.

Best Answer

Maybe you can put a breakpoint there and do
>> set(obj.UiGuiArea)
to see what can be set. It could just be a case sensitive issue, where you may want to use WidthLimits and HeightLimits instead.
Related Question