stylesheet icon indicating copy to clipboard operation
stylesheet copied to clipboard

GtkFrame with border of NONE appear nevertheless

Open tintou opened this issue 6 years ago • 2 comments

I know it's a weird design but some software i.e. LibreOffice use this pattern and it looks ok on Adwaita but not in elementary

On elementary: Capture d'écran du 2019-09-26 13 17 51@2x On Adwaita: Capture d'écran du 2019-09-26 13 18 11@2x

On a technical side, it seems that the border node of the frame has a flat style class in this case

tintou avatar Sep 26 '19 11:09 tintou

Strange, this is in the theme:

https://github.com/elementary/stylesheet/blob/a1d4e8c1f7eaa0879b5ca8e44356e0bbe327d3a2/elementary/gtk-3.0/gtk-widgets.css#L948-L952

cassidyjames avatar Sep 26 '19 15:09 cassidyjames

It looks like the border has a flat class, but not the frame, so the no border rule isn't getting applied.

Screenshot from 2023-06-01 13 47 10

If you apply the rule to frame as well (throwing out the usual rule for bordering), it fixes it here and in quite a lot of other apps, though it has side effects in some other parts of elementary like the keyboard shortcuts panel in settings.

IanHead avatar May 31 '23 01:05 IanHead