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 <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9474
This commit is contained in:
parent
7558620957
commit
42bbe0e58f
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue