]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/commitdiff
Put background behind timer in playlist
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Jul 2016 13:39:38 +0000 (15:39 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Jul 2016 13:39:38 +0000 (15:39 +0200)
music_sampler.kv

index 7d7e95c278c710090d5680d18e091492b0ab77fa..84c40b59ca111cb686929eb7798b365cef764584 100644 (file)
     pos: 15, self.y
     size: self.texture_size[0], self.parent.height
   Label:
+    canvas.before:
+      Color:
+        rgba: 250./255, 250./255, 250./255, 1
+      Rectangle:
+        pos:  self.pos
+        size: self.width, self.height
     id: playlist_times
     font_name: h.path() + "fonts/Ubuntu-Regular.ttf"
     line_height: self.parent.parent.ubuntu_regular_line_height or 1