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:
Diffstat (limited to 'PrestametuVoz.activity/settings.py')
-rw-r--r--PrestametuVoz.activity/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/PrestametuVoz.activity/settings.py b/PrestametuVoz.activity/settings.py
index 0847fcd..804cc67 100644
--- a/PrestametuVoz.activity/settings.py
+++ b/PrestametuVoz.activity/settings.py
@@ -5,7 +5,14 @@ def _get_button_size():
return 100
return 150
+def _get_image_config_size():
+ if style._compute_zoom_factor() == 0.72:
+ return 300
+ return 500
+
+
TABLA_ALTO = 3
TABLA_ANCHO = 4
BUTTON_SIZE = _get_button_size()
+IMAGE_CONFIG_SIZE = _get_image_config_size()