0

As the question states: I need a genlist which is display-only, i.e. items are not selectable.

It's not an EFL thing, as EFL supports this by default.

I want to get rid of this framing around my items:

enter image description here

I have tried:

  • ELM_OBJECT_SELECT_MODE_NONE
  • ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
  • elm_genlist_highlight_mode_set

Nothing worked, do we know a solution for removing this frame?

Daniel
  • 2,318
  • 2
  • 22
  • 53

1 Answers1

0

elm_genlist_select_mode_set is for all item to be selected or not. _elm_genlist_item_select_mode_set is for single item to be selected or not.

also you can disable item to be not selected.

Jade Lee
  • 241
  • 1
  • 2
  • I can disable, but that "highlight" frame is always keep staying there – Daniel Feb 01 '21 at 05:54
  • you meant the white background? I was misunderstanding your question.. it is not related with select or highlight. it is only controlled by edc styles. turn focus_bg to off in data.item. – Jade Lee Feb 02 '21 at 03:48
  • I have no control over `data.item` as I'm using `1text` style (and I'm still not able to checkout the code due to email issues), so I don't have the source of `1text`. – Daniel Feb 02 '21 at 06:11