With Windows 10, Matlab 2017b, this fails: ```matlab 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): ```none 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.)
Activity
Dev-iL commentedon Jan 6, 2018
This seems to be working now:
sco1 commentedon Jan 7, 2018
Should be funcitonal with #8 (947c54e)