Skip to content

Instantly share code, notes, and snippets.

@hansent
Created March 7, 2011 12:59
Show Gist options
  • Select an option

  • Save hansent/858475 to your computer and use it in GitHub Desktop.

Select an option

Save hansent/858475 to your computer and use it in GitHub Desktop.
<MovieThumbnail>:
orientation: 'vertical'
cls: ['debug']
Video:
cls: ["video"]
size_hint: (1, None)
size: self.width, self.width/self.image_ratio
canvas.before:
Color:
rgb: 0,0,1
Rectangle:
pos: self.pos
size: self.size
Label:
canvas.before:
Color:
rgb: 0,1,1
Rectangle:
pos: self.pos
size: self.size
text: root.movie_title
font_size: 18
bold: True
size_hint: (1, None)
text_size: self.size
Label:
text: root.movie_summary
font_size: 12
text_size: self.size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment