wip: visualizers

This commit is contained in:
Christian Hergert
2016-04-15 06:23:53 -07:00
parent 5b4493e2f0
commit 99ff8f2a5c
13 changed files with 958 additions and 3 deletions

View File

@ -1,10 +1,14 @@
GtkPopover GtkListBox GtkListBoxRow,
GtkPaned GtkListBox GtkListBoxRow,
paned list row,
popover list row {
padding: 6px 10px 6px 10px;
border-bottom: 1px solid alpha(@borders, 0.2);
}
GtkPopover GtkListBox GtkListBoxRow:last-child,
GtkPaned GtkListBox GtkListBoxRow:last-child,
paned list row:last-child,
popover list row:last-child {
border-bottom: none;
}

View File

@ -160,8 +160,34 @@
</packing>
</child>
<child>
<object class="SpCallgraphView" id="callgraph_view">
<object class="GtkPaned">
<property name="orientation">vertical</property>
<property name="visible">true</property>
<child>
<object class="GtkScrolledWindow">
<property name="min-content-height">75</property>
<property name="max-content-height">225</property>
<property name="visible">true</property>
<child>
<object class="GtkListBox" id="visualizer_rows">
<property name="visible">true</property>
<child>
<object class="SpLineVisualizerRow" id="cpu_row">
<property name="title" translatable="yes">CPU</property>
<property name="height-request">75</property>
<property name="selectable">false</property>
<property name="visible">true</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="SpCallgraphView" id="callgraph_view">
<property name="visible">true</property>
</object>
</child>
</object>
<packing>
<property name="name">browsing</property>