dash: Adjust placeholder size to icon size

The placeholder looks odd near small icons and causes the dash to get wider
when visible and narrower when hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=659210
This commit is contained in:
Rui Matos
2011-09-16 03:29:10 +01:00
parent 371f623a3e
commit 3f61f39ae3
2 changed files with 2 additions and 2 deletions

View File

@ -684,6 +684,8 @@ Dash.prototype = {
}
this._dragPlaceholder = new DragPlaceholderItem();
this._dragPlaceholder.child.set_width (this.iconSize);
this._dragPlaceholder.child.set_height (this.iconSize / 2);
this._box.insert_actor(this._dragPlaceholder.actor,
this._dragPlaceholderPos);
if (fadeIn)