Jump to content

Issue: TUniTreeMenu - icons handling - "IconCls" list out of date


wprins

Recommended Posts

I'm making a menu with icons using TUniTreeMenu. I've already learnt from the forums that normal Icon images do not work currently (will this be fixed?) and you're meant to use FontAwesome icons.  Except, this does not work reliably either, the problem being that (as I've found) the "IconCls" drop down list is seemingly hard-coded and not all the entries are valid (anymore), the result of which is that not all the icons appear as they should.    

For example:

image.png.99fc9c64e3670eed087edad982f60021.png

In the above I've got a TUniNativeImageList set up:

image.png.061031e29f4dd7ff3c2753a513be2e52.png

As it turns out both "locate" and "arrow_left" no longer exists on FontAwesome (it seems) so these icons don't work.  It would probably be better to allow refreshing this list from FontAwesome dynamically, or to warn users that the entries may not be all functional.  

(Apologies if any of this is documented and I've missed it.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...