Commit c43aa7d4 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

example: Split the header bars with styling

Draws a border between the header bars with custom CSS styling as done
in other GNOME applications. Also drop the now useless GtkSeparator.
parent 4f097256
Pipeline #432 passed with stage
in 2 minutes and 48 seconds
......@@ -35,16 +35,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title">Handy Widget Factory</property>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<style>
<class name="hdy-example-start-header-bar"/>
</style>
</object>
<packing>
<property name="name">sidebar</property>
......@@ -54,6 +47,9 @@
<object class="GtkHeaderBar" id="sub_header_bar">
<property name="visible">True</property>
<property name="expand">True</property>
<style>
<class name="hdy-example-end-header-bar"/>
</style>
<child>
<object class="GtkButton" id="back">
<property name="can_focus">False</property>
......
......@@ -2,5 +2,6 @@
<gresources>
<gresource prefix="/sm/puri/handy/example/ui">
<file preprocess="xml-stripblanks">example-window.ui</file>
<file>style.css</file>
</gresource>
</gresources>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment