| |   |
| diff --git a/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js b/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js |
| index 4da3e85..a80735f 100644 |
| --- a/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js |
| +++ b/usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js |
| @@ -10,8 +10,8 @@ var LauncherAssistant = Class.create({ |
| */ |
| kQuickLaunchHeight: 67, |
| |
| - kPageIndicatorSpacing: 6, /* spacing between each page indicator */ |
| - kPageMargin: 10, /* 10 pixel margin on each side of a page */ |
| + kPageIndicatorSpacing: 1, /* spacing between each page indicator */ |
| + kPageMargin: 0, /* 0 pixel margin on each side of a page */ |
| kPageWidthNoMargin: NaN, |
| kPageWidth: NaN, |
| kAppsPerRow: NaN, |
| @@ -324,9 +324,9 @@ var LauncherAssistant = Class.create({ |
| var newAppDiv = $(newAppInfo.launchPointId); |
| Mojo.assert(newAppDiv !== undefined, "Application (%d) was inserted into the DOM but unable to be retrieved!", newAppInfo.launchPointId); |
| if (isNaN(this.kAppWidth) || isNaN(this.kAppHeight)) { |
| - this.kAppWidth = newAppDiv.getWidth(); |
| - this.kAppHeight = newAppDiv.getHeight(); |
| - this.kAppsPerRow = Math.round(this.kPageWidthNoMargin / this.kAppWidth); |
| + this.kAppWidth = 80; |
| + this.kAppHeight = 92; |
| + this.kAppsPerRow = 4; |
| } |
| |
| Mojo.listen(newAppDiv, Mojo.Event.tap, this.onAppTapped.bindAsEventListener(this)); |
| @@ -439,8 +439,8 @@ var LauncherAssistant = Class.create({ |
| /* determines the position of an app element at appIndex within a page */ |
| calculateAppPosition: function(appIndex) { |
| return { |
| - left: (((appIndex % this.kAppsPerRow) * this.kAppWidth) + this.kPageMargin), |
| - top: (Math.floor(appIndex/this.kAppsPerRow) * this.kAppHeight) |
| + left: (((appIndex % this.kAppsPerRow) * this.kAppWidth) - 10), |
| + top: ((Math.floor(appIndex/this.kAppsPerRow) * this.kAppHeight) - 8) |
| }; |
| }, |
| |
| diff --git a/usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css b/usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css |
| index b1244af..0e7b97a 100644 |
| --- a/usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css |
| +++ b/usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css |
| @@ -121,16 +121,17 @@ body.palm-default |
| |
| .launcher_page .name { |
| position:absolute; |
| - top: 68px; |
| - width:100px; |
| - height: 34px; |
| - max-height: 34px; |
| + top: 62px; |
| + left: 11px; |
| + width:78px; |
| + height: 28px; |
| + max-height: 28px; |
| clear:both; |
| - line-height:16px; |
| + line-height:13px; |
| color:white; |
| text-align:center; |
| font-weight:bold; |
| - font-size: 14px; |
| + font-size: 13px; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| z-index:5; |