comparison libervia/desktop_kivy/kv/simple_xhtml.kv @ 493:b3cedbee561d

refactoring: rename `cagou` to `libervia.desktop_kivy` + update imports and names following backend changes
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 18:26:16 +0200
parents cagou/kv/simple_xhtml.kv@3c9ba4a694ef
children
comparison
equal deleted inserted replaced
492:5114bbb5daa3 493:b3cedbee561d
1 #Libervia Desktop-Kivy
2 # Copyright (C) 2016-2021 Jérôme Poisson (goffi@goffi.org)
3
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU Affero General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU Affero General Public License for more details.
13
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/>.
16
17 #:import C libervia.desktop_kivy.core.constants.Const
18
19
20 <SimpleXHTMLWidget>:
21 size_hint: 1, None
22 height: self.minimum_height
23
24 <SimpleXHTMLWidgetEscapedText>:
25 size_hint: 1, None
26 text_size: self.width, None
27 height: self.texture_size[1] if self.text else 0
28
29 <SimpleXHTMLWidgetText>:
30 size_hint: None, None
31 size: self.texture_size