comparison cagou/plugins/plugin_wid_widget_selector.kv @ 365:9c6fe392d623

core (widgets_handler): use a StencilView + BoxLayout instead of ScrollView as wrapper: The default wrapping when no Carousel or ScreenManager was used was a ScrollView. This was causing bugs as the touch event is not propagated correctly when a ScrollView is in children of ScrollView (notably causing trouble with ModernMenu on ContactList and FileSharing widgets). To avoid that, a simple StencilView with BoxLayout is now used instead. If a ScrollView is needed, it can be added inside the widget (this is the case for WidgetSelector).
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:08 +0100
parents 19422bbd9c8e
children 3c9ba4a694ef
comparison
equal deleted inserted replaced
364:a1f3af7c0b67 365:9c6fe392d623
37 Widget: 37 Widget:
38 38
39 39
40 <WidgetSelector>: 40 <WidgetSelector>:
41 spacing: dp(10) 41 spacing: dp(10)
42 size_hint: 1, None 42 container: container
43 height: self.minimum_height 43 ScrollView:
44 BoxLayout:
45 orientation: "vertical"
46 size_hint: 1, None
47 height: self.minimum_height
48 id: container