Custom arrow icon in QTree
Would it be possible to customize the arrow icon used to expand / collapse items in the Tree component? Currently it seems to be hardwired as play_arrow. I’d like to use e.g. chevron_right. Any solutions?
metalsadman last edited by metalsadman
@rubs you can do
this.$q.iconSet.def.tree.icon = 'chevron_right', note: this is global. https://codepen.io/metalsadman/pen/ExxdBWw?editors=1010
Thanks! I’ll try it. Looks much better than my CSS hack
/> just add like icon attribute
@viswanathNK Thanks, that’s exactly what I wanted!