comparison cagou/kv/menu.kv @ 491:203755bbe0fe

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:32 +0200
parents 3c9ba4a694ef
children
comparison
equal deleted inserted replaced
490:962d17c4078c 491:203755bbe0fe
33 33
34 <ExtraSideMenu>: 34 <ExtraSideMenu>:
35 bg_color: 0.23, 0.23, 0.23, 1 35 bg_color: 0.23, 0.23, 0.23, 1
36 ExtraMenuItem: 36 ExtraMenuItem:
37 text: _("About") 37 text: _("About")
38 on_press: root.onAbout() 38 on_press: root.on_about()
39 Widget: 39 Widget:
40 # to push content to the top 40 # to push content to the top
41 41
42 <TransferMenu>: 42 <TransferMenu>:
43 items_layout: items_layout 43 items_layout: items_layout
46 size_hint: 1, 0.5 46 size_hint: 1, 0.5
47 padding: [app.MARGIN_LEFT, 3, app.MARGIN_RIGHT, 0] 47 padding: [app.MARGIN_LEFT, 3, app.MARGIN_RIGHT, 0]
48 spacing: dp(5) 48 spacing: dp(5)
49 transfer_info: transfer_info 49 transfer_info: transfer_info
50 upload_btn: upload_btn 50 upload_btn: upload_btn
51 on_encrypted: self.updateTransferInfo() 51 on_encrypted: self.update_transfer_info()
52 canvas.after: 52 canvas.after:
53 Color: 53 Color:
54 rgba: app.c_prim_dark 54 rgba: app.c_prim_dark
55 Line: 55 Line:
56 points: 0, self.y + self.height, self.width + self.x, self.y + self.height 56 points: 0, self.y + self.height, self.width + self.x, self.y + self.height
64 id: upload_btn 64 id: upload_btn
65 symbol: "upload" 65 symbol: "upload"
66 text: _(u"upload") 66 text: _(u"upload")
67 group: "transfer" 67 group: "transfer"
68 state: "down" 68 state: "down"
69 on_state: root.updateTransferInfo() 69 on_state: root.update_transfer_info()
70 SymbolToggleLabel 70 SymbolToggleLabel
71 id: send_btn 71 id: send_btn
72 symbol: "loop-alt" 72 symbol: "loop-alt"
73 text: _(u"send") 73 text: _(u"send")
74 group: "transfer" 74 group: "transfer"