Mercurial > libervia-desktop-kivy
comparison src/cagou/plugins/plugin_wid_contact_list.kv @ 50:c45d6e9ec731
contact list: fixed contact list display
fixed height, and left align everything.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 10 Sep 2016 18:01:32 +0200 |
parents | 56838ad5c84b |
children | 34dfe0e32064 |
comparison
equal
deleted
inserted
replaced
49:fd9cbf6ae663 | 50:c45d6e9ec731 |
---|---|
12 # GNU Affero General Public License for more details. | 12 # GNU Affero General Public License for more details. |
13 | 13 |
14 # You should have received a copy of the GNU Affero General Public License | 14 # You should have received a copy of the GNU Affero General Public License |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 <ContactListView>: | |
18 row_height: dp(50) | |
19 | |
17 <ContactItem>: | 20 <ContactItem>: |
18 spacing: 20 | 21 padding: dp(10), dp(3) |
19 Widget: | 22 size_hint: 1, None |
23 height: dp(50) | |
20 Avatar: | 24 Avatar: |
21 source: root.data.get('avatar', app.default_avatar) | 25 source: root.data.get('avatar', app.default_avatar) |
22 size_hint: (None, None) | 26 size_hint: None, 1 |
27 width: dp(60) | |
23 Label: | 28 Label: |
29 padding: dp(5), 0 | |
24 text: root.jid | 30 text: root.jid |
31 text_size: self.size | |
25 bold: True | 32 bold: True |
26 size_hint: (None, None) | 33 valign: "middle" |
27 Widget: |