My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 303: MTList and MTScatter
2 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Aug 2010


 
Reported by jegg...@gmail.com, Aug 15, 2010
If I combine MTList and MTScatter and drag the scatter out of his "size", the List acting stupid. 

Sample Code:
from pymt import *
from os.path import join
# create list
lst = MTList(pos=(200,200), size=(200,250), do_x = False)
#Loading Image
imagefilename = join('docs/2.png')
textimage = MTImage(arg=imagefilename)
textimage.height=textimage.height/(textimage.width/lst.width)
textimage.width=lst.width
#Adding textimage
lst.add_widget(textimage)
# create scatter
scat=MTScatter(size=(400,450))
scat.add_widget(lst)
getWindow().add_widget(scat)
        
if __name__ == '__main__':
    runTouchApp()

Movie that shows the problem: http://jegger.ch/datapool/movie/mtlist/mtlist.html
Aug 16, 2010
Project Member #1 txprog
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-0.5.1
Aug 17, 2010
Project Member #2 txprog
Closed via GitHub: http://github.com/tito/pymt/commit/a76a12a307bf25525431567e414d3f353dc3dae1

touch: add apply_transform_2d() to execute an transformation function on the touch. use it when we are changing of matrix (base, innerwindow, scatter). (fixes  issue 303 )
Status: Done

Powered by Google Project Hosting