wx position of items in list
aleaxit at yahoo.com
Sun Oct 24 13:26:44 EDT 2004
M. Clift <noone at here.com> wrote:
> Hi All,
> This would seem to be easy, but I have had no luck in working out how to do
> In wx.python a list of text is displayed as a bitmap and given it's
> shape.pos = (145, 270)
> What I want to do is to increase the y value for every 20 items in the list,
> so the text is displayed to a new line. So for items in list numbered 0 -19
> y = 270, for items in list numbered 20 - 39 y = 370 etc...
maybe 270 + (i//20)*100 is what you want?
More information about the Python-list