Skip to content

Commit

Permalink
appIndicator: Add some top and bottom padding to the icon
Browse files Browse the repository at this point in the history
Make sure we always leave some spacing and not occupy all the panel vertical
space
  • Loading branch information
3v1n0 committed Feb 26, 2020
1 parent fb990e2 commit 126cb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appIndicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class AppIndicators_IconActor extends Shell.Stack {
this._iconSize = icon_size
this._iconCache = new IconCache.IconCache()

this._mainIcon = new St.Bin()
this._mainIcon = new St.Bin({ style: 'padding: 2px 0 2px 0;'})
this._overlayIcon = new St.Bin({ 'x-align': St.Align.END, 'y-align': St.Align.END })

this.add_actor(this._mainIcon)
Expand Down

0 comments on commit 126cb93

Please sign in to comment.