elm_spinner: sync button visibility 39/257539/8
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 27 Apr 2021 09:36:51 +0000 (18:36 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 25 May 2021 01:11:19 +0000 (01:11 +0000)
commite984185c9b431e3070ca2590256a4045ab57ca40
tree3e4f2532694fc0a51c2ed79def6775e74ceacab8
parent79e5c0450528f7c3be7a45e0ae973fc866fc3239
elm_spinner: sync button visibility

This patch is related to accessibility.
The button of spinner has visible state, even though spinner does not show.

The efl_ui_clock could use spiner internally.
Usually it adds 5 spinners and does not show some of them according to
the time format.

We tried to apply following patch, but it is not acceptable.
- elm_datetime_format_set(dd->datetime, "%d/%b/%Y %I:%M %p");
+ elm_datetime_format_set(dd->datetime, "%I:%M %p");

- elm_datetime_format_set(dd->datetime, "%d/%b/%Y %H:%M");
+ elm_datetime_format_set(dd->datetime, "%H:%M");

Change-Id: If7182e669271931b54b3266f79252c87f4cd6bdf
src/lib/elementary/elm_spinner.c
src/lib/elementary/elm_spinner_eo.c