Forum: Poser Python Scripting


Subject: Label and background color

semidieu opened this issue on Jun 27, 2007 · 1 posts


semidieu posted Wed, 27 June 2007 at 8:21 AM

Hi,

I was trying to create a label with a custom background color. Thanks to PoserWorks, I'm able to get the signed hex color. That's OK. But I can't set it to be the background color. Is it possible ? The value of the color is correct, because I was able to change the color of the text.

<Widget name="myLabel"  command="10201"  groupID="10"  widgetProcID="3"  widgetText="A text that is displayed"  isStringID="0"  textColor="-16777216"  textSize="12"  textAlign="0"  textFont="0"  textItalic="0"  textAntialiased="1"  preliteAction="0"  pinID="1"  pinTop="3"  pinLeft="1"  pinBottom="3"  pinRight="1"  left="370"  top="390"  bottom="410"  right="510" rect.left="370"  rect.top="390"  rect.right="510"  rect.bottom="410" color="-16777216"  fadeMax="0"  parentPin="1" />

I change the value of color to something like 37144 or even other values... Am I missing something ?