visualizer-view: fix time range for ticks

This uses the graph_width to get the proper time range of the
visualizer row. Mostly, this is just complicated because we
the ticks to be an overlay rather than inline with the list
rows.
This commit is contained in:
Christian Hergert
2016-10-06 21:03:01 -07:00
parent c5fb8b5fc9
commit 72a8276faf
2 changed files with 137 additions and 11 deletions

View File

@ -12,7 +12,7 @@
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<object class="GtkScrolledWindow" id="scroller">
<property name="propagate-natural-height">true</property>
<property name="propagate-natural-width">false</property>
<property name="visible">true</property>
@ -26,9 +26,4 @@
</object>
</child>
</template>
<object class="GtkAdjustment" id="scroll_adjustment">
<property name="lower">0.0</property>
<property name="upper">0.0</property>
<property name="value">0.0</property>
</object>
</interface>