changeset 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 520fd0f50233
children 89ba66464329
files cagou/core/widgets_handler.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/widgets_handler.py	Mon Mar 11 20:27:25 2019 +0100
+++ b/cagou/core/widgets_handler.py	Wed Mar 20 09:29:44 2019 +0100
@@ -32,8 +32,8 @@
 from cagou.core.constants import Const as C
 
 
-REMOVE_WID_LIMIT = dp(10)
-MIN_WIDTH = MIN_HEIGHT = dp(50)
+REMOVE_WID_LIMIT = dp(50)
+MIN_WIDTH = MIN_HEIGHT = dp(70)
 
 
 class WHWrapper(BoxLayout):