diff options
-rw-r--r-- | sd/uiconfig/simpress/ui/slidetransitionspanel.ui | 3 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui index 715577407c1f..2d7bde2be671 100644 --- a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui +++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui @@ -255,6 +255,9 @@ <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="invisible_char_set">True</property> + <property name="format">sec</property> + <property name="digits">2</property> + <property name="spin_size">25</property> </object> <packing> <property name="left_attach">1</property> diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 96bfbdb25c74..e71820220872 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -1596,6 +1596,8 @@ bool MetricField::set_property(const OString &rKey, const OString &rValue) } else if (rKey == "digits") SetDecimalDigits(rValue.toInt32()); + else if (rKey == "spin-size") + SetSpinSize(rValue.toInt32()); else return SpinField::set_property(rKey, rValue); return true; |