comparison cagou/plugins/plugin_wid_file_sharing.kv @ 237:059c5b39032d

plugin file sharing: moved common discovery widgets to new core.common_widgets module
author Goffi <goffi@goffi.org>
date Fri, 31 Aug 2018 16:59:38 +0200
parents a676cb07c1cb
children cf61a011f731
comparison
equal deleted inserted replaced
236:ca86954b3788 237:059c5b39032d
38 size_hint: 1, None 38 size_hint: 1, None
39 height: self.minimum_height 39 height: self.minimum_height
40 spacing: 0 40 spacing: 0
41 41
42 42
43 <ItemWidget>:
44 size_hint: None, None
45 width: self.base_width
46 height: self.minimum_height
47 orientation: 'vertical'
48
49
50 <PathWidget>: 43 <PathWidget>:
51 shared: False 44 shared: False
52 Symbol: 45 Symbol:
53 size_hint: 1, None 46 size_hint: 1, None
54 height: dp(80) 47 height: dp(80)
65 halign: 'center' 58 halign: 'center'
66 59
67 60
68 <LocalPathWidget>: 61 <LocalPathWidget>:
69 shared: root.filepath in root.main_wid.shared_paths 62 shared: root.filepath in root.main_wid.shared_paths
70
71
72 <DeviceWidget>:
73 Symbol:
74 size_hint: 1, None
75 height: dp(80)
76 symbol: root.getSymbol()
77 margin: dp(40)
78 color: 0, 0, 0, 1
79 Label:
80 size_hint: None, None
81 width: dp(100)
82 font_size: sp(14)
83 text_size: dp(95), None
84 size: self.texture_size
85 text: root.name
86 halign: 'center'
87
88
89 <CategorySeparator>:
90 size_hint: 1, None
91 height: sp(20)