Mercurial > libervia-desktop-kivy
diff 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 |
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_wid_contact_list.kv Sat Sep 10 16:01:33 2016 +0200 +++ b/src/cagou/plugins/plugin_wid_contact_list.kv Sat Sep 10 18:01:32 2016 +0200 @@ -14,14 +14,20 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +<ContactListView>: + row_height: dp(50) + <ContactItem>: - spacing: 20 - Widget: + padding: dp(10), dp(3) + size_hint: 1, None + height: dp(50) Avatar: source: root.data.get('avatar', app.default_avatar) - size_hint: (None, None) + size_hint: None, 1 + width: dp(60) Label: + padding: dp(5), 0 text: root.jid + text_size: self.size bold: True - size_hint: (None, None) - Widget: + valign: "middle"