[gnome-shell/wip/paging-release: 62/85] Fixed bad collection view width on small resolutions due to the padding and close button of the popu
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release: 62/85] Fixed bad collection view width on small resolutions due to the padding and close button of the popu
- Date: Mon, 12 Aug 2013 15:54:06 +0000 (UTC)
commit 8934de9c0303be342d282d32bb6cb988148ca2b6
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Sat Jul 20 21:44:18 2013 +0200
Fixed bad collection view width on small resolutions due to the padding
and close button of the popup
data/theme/gnome-shell.css | 2 +-
js/ui/appDisplay.js | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 5dc763d..be7e241 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -909,7 +909,7 @@ StScrollBar StButton#vhandle:active {
}
.pages-indicator {
- spacing: 30px;
+ spacing: 50px;
}
.app-folder-icon {
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 2309daf..e4dbaef 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1239,6 +1239,7 @@ const FolderView = new Lang.Class({
usedWidth: function() {
let box = this._containerBox();
let availWidthPerPage = box.x2 - box.x1;
+ availWidthPerPage -= this._boxPointerOffsets['padding'] * 2 +
this._boxPointerOffsets['closeButtonOverlap'];
let maxUsedWidth = this._grid.usedWidth(availWidthPerPage);
return maxUsedWidth;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]