Files
clapper/ui/elapsed-time-button.ui
2022-01-17 21:01:23 +01:00

59 lines
2.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="ClapperElapsedTimeButton" parent="ClapperPopoverButtonBase">
<property name="popover">popover</property>
<property name="direction">up</property>
<property name="valign">center</property>
<property name="halign">center</property>
<property name="can_focus">False</property>
<style>
<class name="flat"/>
</style>
</template>
<object class="GtkPopover" id="popover">
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkScrolledWindow" id="scrolledWindow">
<property name="propagate_natural_width">False</property>
<property name="propagate_natural_height">True</property>
</object>
</child>
<child>
<object class="ClapperPopoverSeparator">
<property name="label" translatable="yes">Speed</property>
</object>
</child>
<child>
<object class="GtkScale" id="speedScale">
<property name="orientation">horizontal</property>
<property name="value_pos">bottom</property>
<property name="draw_value">False</property>
<property name="round_digits">2</property>
<property name="hexpand">True</property>
<property name="valign">center</property>
<property name="adjustment">speed_adjustment</property>
<marks>
<mark value="0.25" position="bottom">0.25×</mark>
<mark value="1" position="bottom" translatable="yes">Normal</mark>
<mark value="2" position="bottom">2×</mark>
</marks>
<style>
<class name="speedscale"/>
</style>
</object>
</child>
</object>
</child>
</object>
<object class="GtkAdjustment" id="speed_adjustment">
<property name="lower">0.01</property>
<property name="upper">2</property>
<property name="value">1</property>
<property name="page-increment">0.1</property>
</object>
</interface>