[bug] object size attribute
I notice that the behavior of the size attribute doesn't work quite the way it is described in the reference document.
It is described as follows:
Sets the object's width and height in both patching and presentation modes (if the object belongs to its patcher's presentation), leaving its position unchanged.
This attribute does not seem to affect the size of an object in presentation view, and only responds to coordinates as integers. Floats are ignored.
I am using Max 6
You have to send the size to the box of the bpatcher for this to work. (script sendbox "name" size x y)
what do you want with floats for pixels?
O.
Thanks for the help with this. I have been confused about what has to be sent via sendbox and what does not. That must be what g/s means in the docs.
I wondered why they ask for floating point numbers to describe pixels in the documentation, it seems like that is an error.
What I would really like to do is have the patch inside the bpatcher resize the bpatcher rectangle from within, just to avoid extra objects on the main patch.
Thanks again!
MH