example: Use separators to separate the panels
Use a GtkSeparator to separate the stack sidebar from the various demo widgets, use custom styling to make the sidebar not draw its own separator, and move the start of the header bar and the header bar separator out of their box and directly into the leaflet.
This allows to have the separators well aligned with no workaround other than a simple custom style, to have no separator appearing when the window is folded, and to not trigger the GTK+ bug making titlebar separators appear black.
Merge request reports
Activity
added 1 commit
- d8aa65ff - example: Use separators to separate the panels
- Resolved by Adrien Plazas
I was thinking: what about adding this custom style to libhandy itself and not to the demo application? We will need to load more custom styling for
HdyTitleBar
that I am going to push soonish anyway.We could load it in
hdy_init()
for example.That way all users of libhandy would have the same style fixes.
Edited by Adrien Plazasmentioned in merge request !104 (merged)