From fa316ddd3d40cd77111d37a8884c9a2664ca59e2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 18 Sep 2009 12:03:45 -0400 Subject: [PATCH] [AppIcon] Make sure small icons still get full-sized AppIcon actors --- js/ui/appIcon.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/appIcon.js b/js/ui/appIcon.js index 5ca1cfd35..1cd2eca70 100644 --- a/js/ui/appIcon.js +++ b/js/ui/appIcon.js @@ -37,7 +37,9 @@ AppIcon.prototype = { let iconBox = new Big.Box({ orientation: Big.BoxOrientation.VERTICAL, x_align: Big.BoxAlignment.CENTER, - y_align: Big.BoxAlignment.CENTER }); + y_align: Big.BoxAlignment.CENTER, + width: APP_ICON_SIZE, + height: APP_ICON_SIZE }); this.icon = appInfo.create_icon_texture(APP_ICON_SIZE); iconBox.append(this.icon, Big.BoxPackFlags.NONE);