diff src/cagou/kv/cagou_widget.kv @ 36:bd3ecac18870

cagou widget, root widget: used of dp to specify distances
author Goffi <goffi@goffi.org>
date Sun, 28 Aug 2016 15:27:42 +0200
parents e77b616d3fae
children 35abe494e6c7
line wrap: on
line diff
--- a/src/cagou/kv/cagou_widget.kv	Sun Aug 28 14:59:49 2016 +0200
+++ b/src/cagou/kv/cagou_widget.kv	Sun Aug 28 15:27:42 2016 +0200
@@ -24,7 +24,7 @@
             size: self.size
             source: 'atlas://data/images/defaulttheme/button'
     size_hint_y: None
-    height: 44
+    height: dp(44)
     Image:
         size_hint: None, 1
         source: root.plugin_info['icon_medium']
@@ -46,7 +46,7 @@
     header_input: header_input
     BoxLayout:
         size_hint: 1, None
-        height: 32
+        height: dp(32)
         HeaderWidgetCurrent:
             on_release: root.selector.open(self)
             source: root.plugin_info['icon_small']