Mercurial > libervia-desktop-kivy
comparison cagou/kv/common_widgets.kv @ 424:027fad764864
common widgets: ImagesGallery first draft:
This widget handle the fullscreen display of images. Some features like sharing or
download are planned in the future.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Feb 2020 16:43:48 +0100 |
parents | d7948d2c1cc6 |
children | 3c9ba4a694ef |
comparison
equal
deleted
inserted
replaced
423:f8ba934ea462 | 424:027fad764864 |
---|---|
43 size_hint: 1, None | 43 size_hint: 1, None |
44 height: sp(35) | 44 height: sp(35) |
45 bold: True | 45 bold: True |
46 font_size: sp(20) | 46 font_size: sp(20) |
47 color: app.c_sec | 47 color: app.c_sec |
48 | |
49 <ImageViewer>: | |
50 do_rotation: False | |
51 AsyncImage: | |
52 source: root.source | |
53 allow_stretch: True, | |
54 | |
55 | |
56 <ImagesGallery>: | |
57 carousel: carousel | |
58 canvas.before: | |
59 Color: | |
60 rgba: 0, 0, 0, 1 | |
61 Rectangle: | |
62 pos: self.pos | |
63 size: self.size | |
64 Carousel: | |
65 id: carousel |