diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-03-03 19:33:53 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-04-28 07:50:37 +0000 |
commit | d3d546a8e15c96a97dbad986e73665201b02a85c (patch) | |
tree | 481624fbdd1a81196c767676cb397e19c239f12b /sd/uiconfig | |
parent | b94d753ac9e3894da055d31bbb7bb20e11b97b5a (diff) |
tdf#98037 - SIDEBAR: Replacing 'Speed' drop downs with comboboxes
Changed speed dropdown in SlideTransitionPanel to Duration combobox.
Used Custom Widget VclComboBoxNumeric with MetricBox class.
Unit set in seconds.
Change-Id: Id295b0ecbd62c60e434d8c65f74d50cdc39c9ecc
Reviewed-on: https://gerrit.libreoffice.org/22865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd/uiconfig')
-rwxr-xr-x[-rw-r--r--] | sd/uiconfig/simpress/ui/slidetransitionspanel.ui | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui index 2496c501127e..a1b861cf0d36 100644..100755 --- a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui +++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui @@ -64,11 +64,11 @@ <property name="row_spacing">6</property> <property name="column_spacing">12</property> <child> - <object class="GtkLabel" id="speed_label"> + <object class="GtkLabel" id="duration_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">Speed:</property> + <property name="label" translatable="yes">Duration:</property> <property name="xalign">0</property> </object> <packing> @@ -77,15 +77,14 @@ </packing> </child> <child> - <object class="GtkComboBoxText" id="speed_list"> + <object class="VclComboBoxNumeric" id="transition_duration:0.00sec"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Select the speed of Slide Transition.</property> + <property name="tooltip_text" translatable="yes">Select the speed of Slide Transition.</property> <property name="hexpand">True</property> - <items> - <item translatable="yes">Slow</item> - <item translatable="yes">Medium</item> - <item translatable="yes">Fast</item> - </items> + <property name="adjustment">adjustment1</property> </object> <packing> <property name="left_attach">1</property> |