mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

KineticList align error #356

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
from pymt import *

w = getWindow()
kl = MTKineticList(title='Test', size=(w.width, 150),
                   w_limit=0, h_limit=1, do_x=True, do_y=False, 
                   searchable=False, deletable=False, padding_x=10, align='left')
for x in range(20):
    kl.add_widget(MTKineticItem(label=str(x)))

#kl.y = w.height - kl.height

w.add_widget(kl)
runTouchApp()

The aligment of the buttons depends on the position of the KinetList
in the window. When I put the list on the top of the window I see no buttons. 
When I set align to 'center' I see the buttons again but the
vertival alignment is not what I expect it to be. The same is true
when the list is on the bottom of the screen and the align is set to 'center'.
I run pymt-0.5.1-win32 on WXP prof. edition

Original issue reported on code.google.com by t.m...@chello.nl on 23 Jan 2011 at 12:36