Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@laptop.org>2008-09-19 00:16:44 (GMT)
committer C. Scott Ananian <cscott@laptop.org>2008-09-19 00:19:20 (GMT)
commit14f009ddeb9d4e02dd6c88e6f95b2941fbf66d95 (patch)
treec7e9e682899a2dead5676397927592dca465d618 /src
parentace3bf7a527284c875ded6cb01491a6c817187ba (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".
Diffstat (limited to 'src')
-rw-r--r--src/view/home/favoriteslayout.py2
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,