comparison libervia/desktop_kivy/plugins/plugin_wid_widget_selector.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/plugins/plugin_wid_widget_selector.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 <WidgetSelItem>:
18 size_hint: (1, None)
19 height: dp(40)
20 item: item
21 Widget:
22 BoxLayout:
23 id: item
24 size_hint: None, 1
25 spacing: dp(10)
26 ActionIcon:
27 plugin_info: root.plugin_info
28 size_hint: None, 1
29 width: self.height
30 Label:
31 text: root.plugin_info["name"]
32 bold: True
33 valign: 'middle'
34 font_size: sp(20)
35 size_hint: None, 1
36 width: self.texture_size[0]
37 Widget:
38
39
40 <WidgetSelector>:
41 spacing: dp(10)
42 container: container
43 ScrollView:
44 BoxLayout:
45 orientation: "vertical"
46 size_hint: 1, None
47 height: self.minimum_height
48 id: container