comparison cagou/core/constants.py @ 422:efee0e0afb78

core (common): moved simple_xhtml's image code to a generic "SizedImage" widget
author Goffi <goffi@goffi.org>
date Wed, 26 Feb 2020 16:41:27 +0100
parents 83d184393fe1
children 3c9ba4a694ef
comparison
equal deleted inserted replaced
421:ddca5a837029 422:efee0e0afb78
51 COLOR_ERROR = (1.0, 0.0, 0.0, 1) 51 COLOR_ERROR = (1.0, 0.0, 0.0, 1)
52 52
53 COLOR_BTN_LIGHT = (0.4, 0.4, 0.4, 1) 53 COLOR_BTN_LIGHT = (0.4, 0.4, 0.4, 1)
54 54
55 # values are in dp 55 # values are in dp
56 IMG_MAX_WIDTH = 500 56 IMG_MAX_WIDTH = 400
57 IMG_MAX_HEIGHT = 500 57 IMG_MAX_HEIGHT = 400
58 58
59 # files 59 # files
60 FILE_DEST_DOWNLOAD = "DOWNLOAD" 60 FILE_DEST_DOWNLOAD = "DOWNLOAD"
61 FILE_DEST_CACHE = "CACHE" 61 FILE_DEST_CACHE = "CACHE"