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

performance-view: Replace the GtkPaned by a HdyLeaflet

This makes the switcher hide itself if the window is too narrow, helping
the window to fit phone screens.
parent 831e5349
......@@ -7,13 +7,16 @@
<child>
<object class="GtkPaned" id="paned">
<object class="HdyLeaflet" id="leaflet">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="mode-transition-type">slide</property>
<property name="visible-child">content_box</property>
<child>
<object class="GtkBox" id="switcher_box">
<property name="visible">True</property>
<property name="hexpand">False</property>
<property name="hexpand-set">True</property>
<property name="width-request">200</property>
<style>
<class name="sidebar"/>
......@@ -22,7 +25,7 @@
</child>
<child>
<object class="GtkBox">
<object class="GtkBox" id="content_box">
<property name="visible">True</property>
<property name="orientation">vertical</property>
......
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