[gnome-shell/gnome-3-8] appDisplay: Expand AllView
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-8] appDisplay: Expand AllView
- Date: Mon, 20 May 2013 16:21:34 +0000 (UTC)
commit 1dff5fb5b24a84406388d81b62403d97c769733c
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 22 00:27:25 2013 +0100
appDisplay: Expand AllView
If the view doesn't fill the available space, content should still
start at the top rather than the center - not least the positioning
code for folder popups assumes that, so set the appropriate expand
flags.
https://bugzilla.gnome.org/show_bug.cgi?id=694371
js/ui/appDisplay.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index c450c67..cc17f63 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -187,6 +187,9 @@ const AllView = new Lang.Class({
_init: function() {
this.parent();
+ this._grid.actor.y_align = Clutter.ActorAlign.START;
+ this._grid.actor.y_expand = true;
+
let box = new St.BoxLayout({ vertical: true });
this._stack = new St.Widget({ layout_manager: new AllViewLayout() });
this._stack.add_actor(this._grid.actor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]