Closed davidn-IA closed 6 years ago
With Windows 10, Matlab 2017b, this fails:
p = uipanel(uifigure()); mlapptools.setStyle(p,'border-radius','10px');
Error as follows (apparently because the widgetID is coming back as null when executing the query string):
widgetID
Error using matlab.internal.webwindow/executeJS (line 701) Error executing JavaScript command: JavaScript error: Uncaught TypeError: Cannot read property 'style' of null at line 110 column 385 in https://localhost:31515/toolbox/matlab/uitools/uifigureappjs/release/dojo/dojo.js Error in mlapptools.setStyle (line 245) win.executeJS(styleSetStr); Error in Untitled (line 2) mlapptools.setStyle(p,'border-radius','10px')
(EDIT by Dev-iL: code formatting.)
This seems to be working now:
Should be funcitonal with #8 (947c54e)
With Windows 10, Matlab 2017b, this fails:
Error as follows (apparently because the
widgetID
is coming back as null when executing the query string):(EDIT by Dev-iL: code formatting.)