-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private function figFromWebwindow
doesn't work on R2017a
#18
Comments
This is likely version specific, the issue does not occur in R2017b. |
@Proxoso While we're adding a warning or a workaround for older versions, you can use the myGUI = DOMdemoGUI;
[hWin, widgetID] = mlapptools.getWebElements(myGUI.TextArea);
mlapptools.setStyle(hWin, 'color', 'aqua', widgetID); |
figFromWebwindow
doesn't work on R2017a
@Dev-iL - if you look at the error stack provided by @Proxoso , you'll see that it stems from [win, ID_struct] = mlapptools.getWebElements(uiElement); which indicates that your suggested workaround will also fail, because My hunch is that it's due to a slow rendering, which means the timeout is reached before the widgetID is available. |
Expected Behavior
Change color from TextArea font to 'aqua'
Actual Behavior
If changing line 434 from:
ww = arrayfun(@mlapptools.getWebWindow, hUIFigs);
to
ww = arrayfun(@mlapptools.getWebWindow, hUIFigs, 'un',0);
following error occurs:
Steps to Reproduce the Problem
Enter this command in the Matlab Command Line (or any other command from the examples):
Specifications
The text was updated successfully, but these errors were encountered: