diff options
author | C. Scott Ananian <cscott@laptop.org> | 2008-09-19 00:16:44 (GMT) |
---|---|---|
committer | C. Scott Ananian <cscott@laptop.org> | 2008-09-19 00:16:44 (GMT) |
commit | 627b10f3f20e57fa41b103fa4ff2687e28db58ea (patch) | |
tree | 9121cffc1eb8bea9331b9d82630ddfc436e17f28 | |
parent | fceb6a76b484f9200a8ba13accf43e3ebd6e4bc0 (diff) |
Eben wants the large favorites icons smaller.
The icon scaling code in the favorites view never lets the icons get
bigger than LARGE_ICON_SIZE or smaller than SMALL_ICON_SIZE -- but
LARGE_ICON_SIZE is still too large in comparison to the XO man.
MEDIUM_ICON_SIZE is "just right".
-rw-r--r-- | src/view/home/favoriteslayout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/home/favoriteslayout.py b/src/view/home/favoriteslayout.py index 023284a..5ac23f3 100644 --- a/src/view/home/favoriteslayout.py +++ b/src/view/home/favoriteslayout.py @@ -227,7 +227,7 @@ class RingLayout(FavoritesLayout): - style.DEFAULT_SPACING # limit adjusted icon size. icon_size = max(icon_size, style.SMALL_ICON_SIZE) - icon_size = min(icon_size, style.LARGE_ICON_SIZE) + icon_size = min(icon_size, style.MEDIUM_ICON_SIZE) return radius, icon_size def _calculate_position(self, radius, icon_size, index, children_count, |