Carsten, there are issues with handling illustrations (legend, colorbar) and rotate3d with the new graphics system. The challenge is identifying graphics objects that should be ignored for layout purposes. We are making progress but there are some small changes that are also required in MATLAB itself. Until then, the workaround is to place axes with illustrations and 3D-rotating axes in a uicontainer (or uipanel with decorations turned off), as described in the GUI Layout Toolbox documentation.
Jamie, you shouldn't be setting the Position of GLT container contents directly. Any changes that you make will be clobbered by the toolbox code. If you feel that there are differences in layout behavior between v1 and v2 then please contact us directly and we will investigate.
Tom, we have removed the enable/disable functionality at this stage due to challenges with the implementation, although we are open to working on it some more. Property 'Enable' is included in the uiextras package to support legacy code, although it no longer has any effect. The demo 'enableexample' should have been removed and will be from the next release.
I encourage anyone with enable/disable use cases to get in touch. Specifically, I am interested in cases where more than set( findall( c, 'Type', 'uicontrol' ), 'Enable', v ) is needed.
I just want to submit a bug using +uix.VButtonBox and +uix.HButtonBox:
It is documented that there is an "Enable" property, but setting this property I have the following issue : "There is no Enable property on the VButtonBox class".
Any idea about this issue ?
Thanks in advanced !
There are a few issues for backward compatibility when still using +uiextras. For instance 'set' commands for 'ColumnSizes/RowSizes' are no longer recognized and one must use 'Widths/Heights' from +uix. Same for 'BorderType', one must use 'none' as 'None' is no longer working. Else from that this is an excellent toolbox.
This is seriously one of the best submissions on File Exchange!
I've been browsing the code, and I can see that it's finally possible in R2014b to subclass MATLAB uicontrols (uix.Container in v2 inherits from matlab.ui.container.internal.UIContainer, instead of being a wrapper as in v1)!
However whenever I try this with my own classes, I get an error that "Class 'MyControl' is not an allowed subclass of class 'matlab.ui.container.internal.UIContainer'."... Are your classes hardcoded in MATLAB as allowed subclasses, but no one else??
Thank you for the feedback, I think this may help folks in understanding the distinction between uipanel and uiextras.Panel, in particular not setting the position of GLT containers. In cases where manual positioning is desired, use a regular uipanel. Below is an example, related to the difficulty I was having and demonstrating the position clobbering that David is referring to:
w = figure(75);
g1 = uiextras.GridFlex('Parent', w);
Hi, good Tool but i get an Error:
"Error using uiextras.MousePointerHandler/onMouseMoved
Cannot access method 'onMouseMoved' in class
Error while evaluating figure WindowButtonMotionFcn"
while I do some Figure handling in a loop one the time i hover over my GUI
05 Dec 2014
Convert an xml file into a MATLAB structure for easy access to the data.
Regarding that "Undefined function 'toCharArray' for input arguments of type 'double'." Error:
For me it worked to change line 154 into
text.(textflag) = char(getData(theNode))';
as it has been in an earlier version of xml2struct (mentioned in the comments in the code in line 153)