comparison cagou/core/widgets_handler.py @ 269:a5dfc789eeaf

widgets_handler: increased remove limit and min height/width: remove limit was too small on touch screen, making it difficult to close a widget
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:29:44 +0100
parents fe540a6dc14d
children 23d4358803c7
comparison
equal deleted inserted replaced
268:520fd0f50233 269:a5dfc789eeaf
30 from kivy import properties 30 from kivy import properties
31 from cagou import G 31 from cagou import G
32 from cagou.core.constants import Const as C 32 from cagou.core.constants import Const as C
33 33
34 34
35 REMOVE_WID_LIMIT = dp(10) 35 REMOVE_WID_LIMIT = dp(50)
36 MIN_WIDTH = MIN_HEIGHT = dp(50) 36 MIN_WIDTH = MIN_HEIGHT = dp(70)
37 37
38 38
39 class WHWrapper(BoxLayout): 39 class WHWrapper(BoxLayout):
40 carousel = properties.ObjectProperty(None) 40 carousel = properties.ObjectProperty(None)
41 split_size = properties.NumericProperty(dp(1)) 41 split_size = properties.NumericProperty(dp(1))