# Cagou: desktop/mobile frontend for Salut à Toi XMPP client # Copyright (C) 2016 Jérôme Poisson (goffi@goffi.org) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . : size_hint: None, 1 padding: 10, 0 width: self.texture_size[0] height: 30 : size_hint: None, None width: 30 : size_hint: None, 1 width: self.texture_size[0] + dp(20) background_color: 0, 0, 0, 1 : size_hint: 1, None height: 30 : text_size: self.size halign: "center" valign: "middle" : title_align: "center" size_hint: 0.8, 0.8