Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/PrestametuVoz.activity/settings.py
diff options
context:
space:
mode:
authorEsteban Arias <earias@plan.ceibal.edu.uy>2010-09-20 18:16:24 (GMT)
committer Esteban Arias <earias@plan.ceibal.edu.uy>2010-09-20 18:16:24 (GMT)
commit07341d2801bb138c53b6465a5492a80621d7073d (patch)
tree146c3acacf7b098401024acc9cb45e97542ce5d0 /PrestametuVoz.activity/settings.py
first commit
Diffstat (limited to 'PrestametuVoz.activity/settings.py')
-rw-r--r--PrestametuVoz.activity/settings.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/PrestametuVoz.activity/settings.py b/PrestametuVoz.activity/settings.py
new file mode 100644
index 0000000..0847fcd
--- /dev/null
+++ b/PrestametuVoz.activity/settings.py
@@ -0,0 +1,11 @@
+from sugar.graphics import style
+
+def _get_button_size():
+ if style._compute_zoom_factor() == 0.72:
+ return 100
+ return 150
+
+TABLA_ALTO = 3
+TABLA_ANCHO = 4
+
+BUTTON_SIZE = _get_button_size()