A request for a new method
A request for a new method
Pierre Hébert Some days ago I explained my problem/request in this post:
https://plus.google.com/113118516831358902202/posts/BrotoGjPK28
With Lukas Morawietz and TrianguloY I found a solution but it is not so efficient ’cause it requires to be applied 2 times and also some restarts…
What I’m asking to you is if it could be possible to implement a new method in LL script API that aims to apply directly a style to a container with immediately visual results (namely that updates properties it-self).
Perhaps with a structure similar to this:
var path= LL.getContext().getFilesDir()+”/themes/”+styleName;
container.setContainerStyle(path);
It would be nice if it can automatically apply default item background images, masks ecc.
]]>
< ![CDATA[
Aren’t styles just serialized Propertysets? If so, I’d prefer a setPropertySet(PropertySet)
]]>
< ![CDATA[
Lukas Morawietz they are not only properties, in fact are included also images.
]]>
< ![CDATA[
Indeed it is not only properties. The current implementation also includes the style of the opener item (the folder/panel window decoration).
I think it can be done, but only after the beta has been released.
]]>