Separate items in ItemList

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dasdahh

Assume I have an ItemList with items dynamically added in. Is it possible to add a visible line separation between the items? Or is my only way creating a bunch of buttons instead?

Sorry if it has been asked before, tried to look but couldn’t find anything.

For example, turn this:
enter image description here
into this:
enter image description here

:bust_in_silhouette: Reply From: jgodfrey

Yeah, you can do that by tweaking the theme associated with your ItemList. I’m no expert when it comes to themes, but this seems to have worked for me:

  • Select the ItemList in the inspector
  • Under Theme, change empty to New Theme
  • Select the new Theme item in the same dropdown
  • Now, in the theme editor (that opens at the bottom of the screen)…
  • Hit the + button near the top-right corner to “Add Type”
  • Add a new ItemList type
  • In the first tab (clr - just below your newly added type)…
  • Select the + besideguide_color
  • That adds an ItemList | Colors section to the main Inspector panel
  • Expand the Colors item and set a color for the guides (transparent by default)

That should do it… The interface to do this is a little odd IMO, but it’s pretty easy to do.

Thanks, that was it!
Never would’ve thought it was called ‘guide_color’ ;(

dasdahh | 2023-04-14 20:14