Mercurial > libervia-desktop-kivy
comparison src/cagou/kv/cagou_widget.kv @ 60:35abe494e6c7
core: bridge selection + improvments for android
- bridge specified in sat.conf is now imported, in the same way as for backend
- when loading, a label showing "Loading please wait" is shown
- postInit is now call when backend is ready
- avoid division by zero when icon is not available in cagou_widget.kv
- twisted reactor is used
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2016 18:16:10 +0100 |
parents | bd3ecac18870 |
children | 953ddf817b8a |
comparison
equal
deleted
inserted
replaced
59:2aa44a82d0e7 | 60:35abe494e6c7 |
---|---|
27 height: dp(44) | 27 height: dp(44) |
28 Image: | 28 Image: |
29 size_hint: None, 1 | 29 size_hint: None, 1 |
30 source: root.plugin_info['icon_medium'] | 30 source: root.plugin_info['icon_medium'] |
31 allow_stretch: True | 31 allow_stretch: True |
32 width: self.texture_size[0]*self.height/self.texture_size[1] | 32 width: self.texture_size[0]*self.height/(self.texture_size[1] or 1) |
33 Label: | 33 Label: |
34 size_hint: 1, 1 | 34 size_hint: 1, 1 |
35 text: root.plugin_info['name'] | 35 text: root.plugin_info['name'] |
36 bold: True | 36 bold: True |
37 text_size: self.size | 37 text_size: self.size |
50 HeaderWidgetCurrent: | 50 HeaderWidgetCurrent: |
51 on_release: root.selector.open(self) | 51 on_release: root.selector.open(self) |
52 source: root.plugin_info['icon_small'] | 52 source: root.plugin_info['icon_small'] |
53 size_hint: None, 1 | 53 size_hint: None, 1 |
54 allow_stretch: True | 54 allow_stretch: True |
55 width: self.texture_size[0]*self.height/self.texture_size[1] | 55 width: self.texture_size[0]*self.height/(self.texture_size[1] or 1) |
56 TextInput: | 56 TextInput: |
57 id: header_input | 57 id: header_input |
58 multiline: False | 58 multiline: False |
59 on_text_validate: root.onHeaderInput() | 59 on_text_validate: root.onHeaderInput() |