wingpanel icon indicating copy to clipboard operation
wingpanel copied to clipboard

text-shadow gets cut off at the bottom

Open elementaryBot opened this issue 8 years ago • 3 comments

I just noticed, that tray-icons like from Skype and Spotify are getting cut off at the bottom. Screen attached.

Launchpad Details: #LP1438553 Marco Kretz - 2015-03-31 07:22:01 +0000

elementaryBot avatar Mar 29 '17 20:03 elementaryBot

Alright, so I did some investigation here and this is what I found:

In order to make the shadow not clip, the display_widget needs to have a margin hardcoded. 3px works just fine

That means we need to take the padding out of .menuitem.composited-indicator in the stylesheet

However there is a problem because of overlay icon. The margin needs to be applied to the Gtk.Image itself and not its container.

So we need to apply 3px margin to Gtk.Image in overlay icon and also apply a 3px margin to display_widget, but only if it's a Gtk.Image

Launchpad Details: #LPC Daniel Fore - 2015-10-20 18:27:08 +0000

elementaryBot avatar Mar 29 '17 20:03 elementaryBot

Now that Gtk.CSS includes margin, we can probaby revisit this after #2 is fixed

danirabbit avatar Oct 14 '19 19:10 danirabbit