]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - music_sampler.kv
Put background behind timer in playlist
[perso/Immae/Projets/Python/MusicSampler.git] / music_sampler.kv
index 87c6e9338be910d4850668448dfce90880447f6f..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
     Rectangle:
       pos:  0, 0
       size: self.width, self.height
+    Color:
+      rgba: self.ready_color
+    Ellipse:
+      pos: self.width - self.key_size / 2, self.height - self.key_size /2
+      size: self.key_size / 3, self.key_size / 3
   Key:
     id: Key_27
     key_code: 27