Mercurial > libervia-desktop-kivy
annotate cagou/plugins/plugin_wid_widget_selector.kv @ 163:ef09dce878c7
widgets handler: removed constants which are not used anymore
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 28 Apr 2018 11:06:48 +0200 |
parents | cd99f70ea592 |
children | 6a288d4a493f |
rev | line source |
---|---|
12 | 1 # Cagou: desktop/mobile frontend for Salut à Toi XMPP client |
126 | 2 # Copyright (C) 2016-2018 Jérôme Poisson (goffi@goffi.org) |
12 | 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
790dbc5c4e89
plugin widget selector: display improvment + host profiles are now used by default
Goffi <goffi@goffi.org>
parents:
15
diff
changeset
|
18 size_hint: (1, None) |
62 | 19 height: dp(40) |
12 | 20 Widget: |
25
d09bd16dbbe2
code (cagou widget), selector: icons handling + use of new muchoslava icon set
Goffi <goffi@goffi.org>
parents:
18
diff
changeset
|
21 Image: |
d09bd16dbbe2
code (cagou widget), selector: icons handling + use of new muchoslava icon set
Goffi <goffi@goffi.org>
parents:
18
diff
changeset
|
22 source: root.plugin_info["icon_medium"] |
62 | 23 allow_stretch: True |
24 keep_ratio: True | |
25
d09bd16dbbe2
code (cagou widget), selector: icons handling + use of new muchoslava icon set
Goffi <goffi@goffi.org>
parents:
18
diff
changeset
|
25 width: self.texture_size[0] |
12 | 26 Label: |
14 | 27 text: root.plugin_info["name"] |
12 | 28 bold: True |
62 | 29 font_size: sp(20) |
12 | 30 Widget: |