mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: simplify sizing of positioning in visualizers
This simplifies the visualizer sizing by avoiding the expanding sizes when there is more space available. Doing so allows us to treat all the sizing uniformly. We can also make the ticks area a visualizer for more code re-use.
This commit is contained in:
@ -122,10 +122,14 @@
|
||||
<property name="hscrollbar_policy">external</property>
|
||||
<property name="vscrollbar_policy">never</property>
|
||||
<child>
|
||||
<object class="GtkViewport">
|
||||
<object class="GtkViewport" id="ticks_viewport">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="shadow_type">none</property>
|
||||
<style>
|
||||
<class name="visualizers"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="SysprofVisualizerTicks" id="ticks">
|
||||
<property name="visible">True</property>
|
||||
@ -223,10 +227,14 @@
|
||||
<property name="vscrollbar_policy">never</property>
|
||||
<property name="propagate_natural_height">True</property>
|
||||
<child>
|
||||
<object class="GtkViewport">
|
||||
<object class="GtkViewport" id="visualizers_viewport">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="shadow_type">none</property>
|
||||
<property name="halign">start</property>
|
||||
<style>
|
||||
<class name="visualizers"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkListBox" id="visualizers">
|
||||
<property name="visible">True</property>
|
||||
|
||||
Reference in New Issue
Block a user