I'm trying to layout a bunch of images (links to 'file' textures) as part of a shader editor panel. The images aren't being scaled to fit the button, and I can't figure out why not.
$normalBitmapButton = swatchDisplayPort -wh 32 32 -rs 32 -sn $node;
== I've tried various parameters without success. If the -wh is 64x64 it's successfully scaling a 640x480 image, regardless of whether I specify the -rs flag or not, or whatever size I make it. Using a -wh of 32 32 gives me the lower quadrant; it also seems impervious to changes in -rs.
It seems that somehow images are being automatically scaled to fit 64x64; if I make the -wh bigger, I still only have a 64x64 area being rendered.
any tips?