comparison src/cagou/plugins/plugin_wid_chat.kv @ 31:4f9e701d76b4

core: expand now accepts extra arguments, which will be used in format
author Goffi <goffi@goffi.org>
date Sun, 21 Aug 2016 17:47:23 +0200
parents 8ea3f335307d
children 7819e9efa250
comparison
equal deleted inserted replaced
30:8ea3f335307d 31:4f9e701d76b4
59 Label: 59 Label:
60 canvas.before: 60 canvas.before:
61 Color: 61 Color:
62 rgba: 1, 1, 1, 1 62 rgba: 1, 1, 1, 1
63 BorderImage: 63 BorderImage:
64 source: app.expand("{media}") + "/misc/borders/{}.jpg".format("blue" if root.mess_data.own_mess else "gray") 64 source: app.expand("{media}/misc/borders/{}.jpg", "blue" if root.mess_data.own_mess else "gray")
65 pos: self.pos 65 pos: self.pos
66 size: self.size 66 size: self.size
67 id: mess_label 67 id: mess_label
68 color: 0, 0, 0, 1 68 color: 0, 0, 0, 1
69 padding: 5, 5 69 padding: 5, 5