ID:2034743
 
(See the best response by Ter13.)
Code:
src << output(myobject, "grid1: 1,1")


Problem description: I use the above code to add an object into the first cell of a grid. Works fine, but I notice it's not in the center of the cell, more to the left (object image is 32x32). How can I make it center? I searched and found many posts about text, not object images...
Thanks

Set the grid to not show names.
But I don't show names anyway. Example of how a full yellow 32x32 obj appears in a grid cell (less space left than right):

http://s11.postimg.org/sf5znw63n/zaza.png
Bump? Just test and add a 32x32 obj to a grid cell, it won't be centered. Any solution to this?
Best response
What's the point of the extra space to begin with? Maybe you are asking the wrong question. Instead of why it's not centered, maybe you should be asking yourself why you shouldn't explicitly size the grid to the contents in the first place, giving it no extra space to mess up.
It would be nice if images displayed in grids could be centered in some way. I have recently encountered this inconvenience and hope that a fix will be created for it soon.