overviewControls: don't set padding on the whole overview group

Set it on the control slider actor instead. At the same time, remove
bottom padding from search results actor.

https://bugzilla.gnome.org/show_bug.cgi?id=694287
This commit is contained in:
Cosimo Cecchi 2013-02-21 10:44:32 -05:00
parent df0f03d831
commit 656d24e477
2 changed files with 6 additions and 1 deletions

View File

@ -644,6 +644,9 @@ StScrollBar StButton#vhandle:active {
#overview {
spacing: 24px;
}
.overview-controls {
padding-bottom: 32px;
}
@ -781,7 +784,7 @@ StScrollBar StButton#vhandle:active {
/* Search Results */
#searchResults {
padding: 20px 10px 10px 10px;
padding: 20px 10px 0px 10px;
spacing: 18px;
}
@ -850,6 +853,7 @@ StScrollBar StButton#vhandle:active {
.app-view-controls {
width: 250px;
padding-bottom: 32px;
}
.app-view-control {

View File

@ -98,6 +98,7 @@ const SlidingControl = new Lang.Class({
this.layout = new SlideLayout();
this.layout.slideDirection = params.slideDirection;
this.actor = new St.Widget({ layout_manager: this.layout,
style_class: 'overview-controls',
clip_to_allocation: true });
Main.overview.connect('showing', Lang.bind(this, this._onOverviewShowing));