From 7372308270c003e4ee81eee7c1d0fa64f9044a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 9 Feb 2011 23:40:48 +0100 Subject: [PATCH] dash: Increase the maximum icon size With the labels removed from dash items, we can potentially use a larger icon size, so add 64 to the list of icon sizes and use it by default. --- js/ui/dash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/dash.js b/js/ui/dash.js index 0456de86b..e4d18abb4 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -249,7 +249,7 @@ function Dash() { Dash.prototype = { _init : function() { this._maxHeight = -1; - this._iconSize = 48; + this._iconSize = 64; this._shownInitially = false; this._dragPlaceholder = null; @@ -413,7 +413,7 @@ Dash.prototype = { let [minHeight, natHeight] = this.actor.get_preferred_height(-1); let diff = (this._maxHeight - natHeight) / iconChildren.length; - let iconSizes = [ 16, 22, 24, 32, 48 ]; + let iconSizes = [ 16, 22, 24, 32, 48, 64 ]; let newIconSize = 16; for (let i = 0; i < iconSizes.length; i++) {