-
- Label:
- id: playlist_icons
- font_name: "Symbola"
- font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
- line_height: self.parent.parent.symbola_line_height or 1
- color: 0, 0, 0, 1
- text: "\n".join(map(lambda x: x[0], self.parent.playlist))
- text_size: None, self.parent.height
- halign: "left"
- valign: "top"
- size_hint: None, None
- size: self.texture_size[0], self.parent.height
- Label:
- id: playlist_names
- font_name: "Ubuntu" # FIXME: Mettre en gras quand c'est en cours
- line_height: self.parent.parent.ubuntu_regular_line_height or 1
- font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
- color: 0, 0, 0, 1
- text: "\n".join(map(lambda x: x[1], self.parent.playlist))
- text_size: None, self.parent.height
- halign: "left"
- valign: "top"
- size_hint: None, None
- 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: "Ubuntu"
- line_height: self.parent.parent.ubuntu_regular_line_height or 1
- font_size: math.ceil(2 * math.sqrt(self.parent.parent.key_size or 10))
- color: 0, 0, 0, 1
- text: "\n".join(map(lambda x: x[2], self.parent.playlist))
- text_size: None, self.parent.height
- halign: "left"
- valign: "top"
- size_hint: None, None
- pos: self.parent.width - 3 * self.width / 2 - 2 * (self.parent.parent.border or 0), self.y
- size: self.texture_size[0], self.parent.height
+ PlayListIcons:
+ orientation: 'lr-tb'
+ size_hint: 0.05, 1
+ pos_hints: { 'x': 0, 'top': 0 }
+ PlayListNames:
+ orientation: 'lr-tb'
+ pos_hint: { 'x': 0.05, 'bottom': 0 }
+ size_hint: 0.65, 1
+ PlayListTimes:
+ orientation: 'lr-tb'
+ pos_hint: { 'x': 0.7, 'bottom': 0 }
+ size_hint: 0.30, 1