Gtk3 CssProvider Border-color only work on corner

I try to have a border-color on a Gtk.EventBox. Other proprieties of border work.
But my border seems have a “transparent zone” on each side so the color is just apply on corner.
I try everything that I can.

thank you

My css:

css = """
            GtkEventBox {  
                border-color: rgba(255,0,0,0.5);
                border-width: 0 5px 0 5px;
                border-style: solid;
                background-color: white;
                background-image: repeating-linear-gradient(+45deg, """+self.colorfinal2+""", """+self.colorfinal2+""" 15px, """+self.colorfinal+""" 15px, """+self.colorfinal+""" 90px);
                color: black;
            }
        """

Sacriyana


Source: python

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.