-
IconSet Material does not display after update from 11 35659 to 11 36251
Dear $all,
Quite honestly, I am always quite hesitant to install an Omnis update, because after the update, I am often troubleshooting why things do not work as before… also this time:
I am using the wonderful icons ‘material’ that Google provide free for use. Many of them are already included in the Omnis installation, but not all, which is why I use a separate folder with ALL material icons.
I also use the native list control, which allows for icons to be displayed in front of the menu texts.
After the update to 11.36251, now some of these icons from the material iconset, do not display anymore. After inspection (another few hours…), I found that those material icons that are themed, do not show anymore – or maybe become invisible, because the the icon colour is the same as $rowcolour. The unthemed material icons, however, do show up in black.
The way I made the icons show was to give the $imagecol containing the icon path the following:
style(kEscBmp,llMenuItems.tMI_IconPath)
where llMenuItems.tMI_IconPath just contained the name of the icon in the iconset, e.g. ‘home’
Checking online help, I found that with 11.36075, the native list control now supports themed SVGs, so I’m quite sure that the update is to ‘blame’ for my themed icons (that used to show up black before the update) now have disappeared.
So how to make them reappear?
Un-theme my material icons? How?
Or much rather: ‘style’ them to a sub theme color! But how?
Your help is greatly appreciated!
Best regards
Uwe
Log in to reply.