On Tue, Sep 11, 2012 at 8:42 PM, Nathan <[email protected]> wrote:
> On Tue, Sep 11, 2012 at 7:57 AM, anatoly techtonik <[email protected]>
> wrote:
>>
>> Hi,
>>
>> Is it possible somehow to set background colors for text labels?
>
>
> You should probably investigate "background_group" on the Label API page:
>
> http://pyglet.org/doc/api/pyglet.text.Label-class.html
>
> Haven't used it myself, but it sure looks like what you're looking for.

"background_group" is still a mystery to me. I've found a way to set style:

    label.set_style('background_color', palette.background)

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to