libsysprof-ui: add simplified time label

This handles the resizing of the numbers better to avoid jitter of the
positioning.
This commit is contained in:
Christian Hergert
2019-05-24 00:41:02 -07:00
parent 272a0e284e
commit bfe72c1d77
7 changed files with 200 additions and 33 deletions

View File

@ -20,17 +20,11 @@
</object>
</child>
<child>
<object class="GtkLabel" id="elapsed">
<property name="label" translatable="yes">00:00</property>
<object class="SysprofTimeLabel" id="elapsed">
<property name="visible">true</property>
<style>
<class name="dim-label"/>
</style>
<attributes>
<attribute name="scale" value="4"/>
<attribute name="weight" value="bold"/>
<attribute name="font-features" value="font-feature-settings: &apos;tnum&apos;"/>
</attributes>
</object>
</child>
<child>