bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=42bbe0e58ffcfda31d142dbaab9be99f7d84f1c7
commit 42bbe0e58ffcfda31d142dbaab9be99f7d84f1c7 Author: Marcel Hollerbach <[email protected]> Date: Thu Aug 1 13:35:53 2019 +0200 efl_ui_spin_button: fix initial displaying of formatting string spin_button should also implement formatted_apply, the label has a different part name then spin. ref T8097 Reviewed-by: Xavi Artigas <[email protected]> Differential Revision: https://phab.enlightenment.org/D9474 --- src/lib/elementary/efl_ui_spin_button.c | 7 +++++++ src/lib/elementary/efl_ui_spin_button.eo | 1 + 2 files changed, 8 insertions(+) diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c index ef531370a8..0419022df1 100644 --- a/src/lib/elementary/efl_ui_spin_button.c +++ b/src/lib/elementary/efl_ui_spin_button.c @@ -805,6 +805,13 @@ _efl_ui_spin_button_efl_access_object_i18n_name_get(const Eo *obj, Efl_Ui_Spin_B return ret; } +EOLIAN static void +_efl_ui_spin_button_efl_ui_format_apply_formatted_value(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) +{ + _label_write(obj); + efl_canvas_group_change(obj); +} + // A11Y Accessibility - END #include "efl_ui_spin_button.eo.c" diff --git a/src/lib/elementary/efl_ui_spin_button.eo b/src/lib/elementary/efl_ui_spin_button.eo index a4ec1c6e3e..45b16b7af8 100644 --- a/src/lib/elementary/efl_ui_spin_button.eo +++ b/src/lib/elementary/efl_ui_spin_button.eo @@ -72,5 +72,6 @@ class @beta Efl.Ui.Spin_Button extends Efl.Ui.Spin implements Efl.Ui.Focus.Compo Efl.Access.Value.range { get; } Efl.Access.Value.increment { get; } Efl.Access.Widget.Action.elm_actions { get; } + Efl.Ui.Format.apply_formatted_value; } } --
