Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_remote.kv @ 305:b2727877bad4
remote: fixed workflow and size for XMLUI panel used with Ad-Hoc commands:
the XMLUI panel was added to the StackLayout used for discovery, resulting in a bad
sizing. This patch fixes this by moving discovery panel to a new widget, and adding a main
BoxLayout where the XMLUI panel are added.
The XMLUI close callback is now handled properly.
fix 325
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jul 2019 17:13:05 +0200 |
parents | 1b835bcfa663 |
children | 3c9ba4a694ef |
comparison
equal
deleted
inserted
replaced
304:00e2bcf0d9df | 305:b2727877bad4 |
---|---|
14 # You should have received a copy of the GNU Affero General Public License | 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/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 | 17 |
18 <RemoteControl>: | 18 <RemoteControl>: |
19 float_layout: float_layout | |
20 layout: layout | 19 layout: layout |
21 FloatLayout: | 20 BoxLayout: |
22 id: float_layout | 21 id: layout |
23 ScrollView: | 22 |
24 size_hint: 1, 1 | 23 |
25 pos_hint: {'x': 0, 'y': 0} | 24 <DevicesLayout>: |
26 do_scroll_x: False | 25 layout: layout |
27 scroll_type: ['bars', 'content'] | 26 size_hint: 1, 1 |
28 bar_width: dp(6) | 27 ScrollView: |
29 StackLayout: | 28 size_hint: 1, 1 |
30 id: layout | 29 pos_hint: {'x': 0, 'y': 0} |
31 size_hint: 1, None | 30 do_scroll_x: False |
32 height: self.minimum_height | 31 scroll_type: ['bars', 'content'] |
33 spacing: 0 | 32 bar_width: dp(6) |
33 StackLayout: | |
34 id: layout | |
35 size_hint: 1, None | |
36 height: self.minimum_height | |
37 spacing: 0 | |
34 | 38 |
35 | 39 |
36 <RemoteItemWidget>: | 40 <RemoteItemWidget>: |
37 shared: False | 41 shared: False |
38 Symbol: | 42 Symbol: |