comparison src/cagou/core/widgets_handler.py @ 62:1922506846be

design fixes: - adjust sizes using sp/dp so it adapts on different screen resolutions - use a shorter sentence for profile manager label, so it appears better on small screens - various design adjustment to appear correclty on different screen size
author Goffi <goffi@goffi.org>
date Sun, 04 Dec 2016 21:34:30 +0100
parents 9f45098289cc
children
comparison
equal deleted inserted replaced
61:0b7f10de416e 62:1922506846be
35 REMOVE_WIDGET_DIST = NEW_WIDGET_DIST 35 REMOVE_WIDGET_DIST = NEW_WIDGET_DIST
36 36
37 37
38 class WHSplitter(Button): 38 class WHSplitter(Button):
39 horizontal=properties.BooleanProperty(True) 39 horizontal=properties.BooleanProperty(True)
40 thickness=properties.NumericProperty(15) 40 thickness=properties.NumericProperty(dp(20))
41 split_move = None # we handle one split at a time, so we use a class attribute 41 split_move = None # we handle one split at a time, so we use a class attribute
42 42
43 def __init__(self, handler, **kwargs): 43 def __init__(self, handler, **kwargs):
44 super(WHSplitter, self).__init__(**kwargs) 44 super(WHSplitter, self).__init__(**kwargs)
45 self.handler = handler 45 self.handler = handler