After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760018 - Separator Tool Items with draw=false still get drawn
Separator Tool Items with draw=false still get drawn
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-12-31 06:30 UTC by Sam P.
Modified: 2016-01-03 01:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the issue (toolbar is usually dark, but the separators are light though should be invisible) (9.67 KB, image/png)
2015-12-31 06:30 UTC, Sam P.
Details

Description Sam P. 2015-12-31 06:30:51 UTC
Created attachment 318058 [details]
Screenshot of the issue (toolbar is usually dark, but the separators are light though should be invisible)

If I style my separators with a background-color (same works with border-top):

    separator {                  
        background-color: @button_grey;  /* light grey */
    }

And then I have an invisible separator toolitem:

    separator = Gtk.SeparatorToolItem()                                     
    separator.props.draw = False

It still gets drawn, see the attachment.

Further more, there is no extra style class or anything that I could use to select the invisible ones and make them invisible from css.