list.content padding_bottom 1
filedialog.folder image filebrowser.folder.png
+filedialog.soundfile image note.png
filedialog.label font Vera.ttf 28
filedialog.label color #000000
filedialog.title.label font Vera.ttf 32
else: self.curdir = path
self.dir_img = basic.Image(
pguglobals.app.theme.get(cls1+'.folder', '', 'image'))
+ self.soundfile_img = basic.Image(
+ pguglobals.app.theme.get(cls1+'.soundfile', '', 'image'))
td_style = {'padding_left': 4,
'padding_right': 4,
'padding_top': 2,
style['width'] = PICTURE_ITEM_SIZE * float(iw) / ih
img = basic.Image(img, style=style)
- self.list.add(l[0], value = l[1], image = img)
else :
- self.list.add(l[0], value = l[1])
+ img = self.soundfile_img
+ self.list.add(l[0], value = l[1], image = img)
self.list.set_vertical_scroll(0)