On Thu, Jun 4, 2009 at 3:16 AM, Lynx <[email protected]> wrote: > > On Jun 3, 10:33 am, Steve Johnson <[email protected]> wrote: > > (Again, I humbly request a vertical text placement tweak theme > > parameter, or some other way of tweaking vertical text placement.) > > If I understand this right, what you want is: > > * labels should be defined with anchor_y='baseline' > * buttons should be sized (vertically) to the maximum ascent+descent > of the font > * labels should be positioned at (x, y+descent) where y is the lower > left corner of the content space > > Doing this would guarantee that if you lined up a number of buttons > side by side, the label baselines would be the same across each of > them, whether they contained descenders or not. > > This seems like an easy tweak.
That is actually what I had intended, but for some reason I used bottom rather than baseline. -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
