comparison cagou/kv/simple_xhtml.kv @ 422:efee0e0afb78

core (common): moved simple_xhtml's image code to a generic "SizedImage" widget
author Goffi <goffi@goffi.org>
date Wed, 26 Feb 2020 16:41:27 +0100
parents 2caea63ae2ab
children 3c9ba4a694ef
comparison
equal deleted inserted replaced
421:ddca5a837029 422:efee0e0afb78
27 height: self.texture_size[1] if self.text else 0 27 height: self.texture_size[1] if self.text else 0
28 28
29 <SimpleXHTMLWidgetText>: 29 <SimpleXHTMLWidgetText>:
30 size_hint: None, None 30 size_hint: None, None
31 size: self.texture_size 31 size: self.texture_size
32
33 <SimpleXHTMLWidgetImage>:
34 size_hint: None, None