diff src/cagou/kv/root_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 c21d1be2e54c
children 1922506846be
line wrap: on
line diff
--- a/src/cagou/kv/root_widget.kv	Sun Aug 28 14:59:49 2016 +0200
+++ b/src/cagou/kv/root_widget.kv	Sun Aug 28 15:27:42 2016 +0200
@@ -33,7 +33,7 @@
             size: self.size
             source: 'atlas://data/images/defaulttheme/button'
     size_hint: 1, None
-    height: 50
+    height: dp(50)
 
 <NotesDrop>:
     clear_btn: clear_btn.__self__
@@ -44,14 +44,14 @@
         text: "clear"
         bold: True
         size_hint: 1, None
-        height: 50
+        height: dp(50)
         on_release: del root.notes[:]; root.dismiss()
 
 <RootHeadWidget>:
     manager: manager
     notifs_icon: notifs_icon
     size_hint: 1, None
-    height: 35
+    height: dp(35)
     IconButton:
         source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if root.notes else app.expand("{media}/misc/black.png")
         size_hint: None, 1