[gnome-shell/wip/rewindow: 10/12] overview: Reduce space between window picker and dash
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rewindow: 10/12] overview: Reduce space between window picker and dash
- Date: Tue, 21 Aug 2012 14:42:02 +0000 (UTC)
commit 10518f710879c6aefc6b811e24c777c9eb37b2c9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Aug 8 18:02:35 2012 -0300
overview: Reduce space between window picker and dash
Do this in a hacky way by hardcoding this. When mode switch or whatever
lands, hopefully we'll fix the overview layout code up.
https://bugzilla.gnome.org/show_bug.cgi?id=582650
js/ui/overview.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index cb0ff67..c0f84d8 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -23,8 +23,8 @@ const WorkspaceThumbnail = imports.ui.workspaceThumbnail;
// Time for initial animation going into Overview mode
const ANIMATION_TIME = 0.25;
-// We split the screen vertically between the dash and the view selector.
-const DASH_SPLIT_FRACTION = 0.1;
+// XXX -- grab this automatically. Hard to do.
+const DASH_MAX_SIZE = 96;
const DND_WINDOW_SWITCH_TIMEOUT = 1250;
@@ -492,7 +492,7 @@ const Overview = new Lang.Class({
let searchX = (primary.width - searchWidth) / 2;
let searchY = contentY + this._spacing;
- let dashWidth = Math.round(DASH_SPLIT_FRACTION * primary.width);
+ let dashWidth = DASH_MAX_SIZE;
let dashY = searchY + searchHeight + this._spacing;
let dashX;
if (rtl) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]