I can't get the basic alignment working for my pyglet.text.Label. Does
using a unicode string affect it somehow? This is how I instantiate the
label.
value_weight_text = u'{:.2f}\u03b5/{:.1f}kg'.format(0,0)
self.inv_info_value_weight = pyglet.text.Label(
value_weight_text, width=90, halign='right', batch=self.inv_batch)
Thanks.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.