Pierre Hébert I have 2 really helpful suggestions and mostly easy to implement (i guess):
Pierre Hébert I have 2 really helpful suggestions and mostly easy to implement (i guess):
– Two new standard variables: PositionX and PositionY of the container in which is the item concerned;
– The possiblity to set bindings in general properties of the container;
I hope this helps! 🙂
]]>« Freebie UI: (Previous Post)
(Next Post) It’s possible to create a kind of “music widget” (obviously through CustomViews) for all music players without using… »
< ![CDATA[
item.getParent().getPositionX() (and Y)
]]>
< ![CDATA[
Yeah, i already did it xD
It is a suggestion to simplify life to people, without using scripts for every little thing.
]]>
< ![CDATA[
Oh, you mean binding variables. Sorry I misunderstood >.<
Not a bad idea
]]>
< ![CDATA[
The problem is: they change a lot in short periods of time, not sure how animate will behave…
]]>
< ![CDATA[
oh… D: i think you’re right
]]>
< ![CDATA[
I was waiting for something like that 😉
What I am thinking at is a generic object property variable. Instead of having only basic variables (either builtin or user ones) it would be possible to use containers and items properties as variables. For instance $my_container.positionX, or $this_item.alpha, or maybe a functional syntax such as prop(‘this_item’, ‘i.alpha’).
That could be great but also complex. I don’t know yet whether I will try to implement it.
With “bindings in general properties of the container” do you mean “bindings for the container”, or “bindings applied to all items in this container” ? The first one is possible but I don’t think the second one will ever be implemented.
]]>
< ![CDATA[
WOW. It’s a great idea, much better than mine! PLEASE, implement that O___O
However, i meant “bindings applied to all items in the container”. It would be very helpful in appdrawer, for example setting items box color from a variable.
]]>