Dear Serge, 🙂
After 15 years finally I have NICE icons at my Main menu thans to you and this great component. (TsVirtualImageList)
Only 1 odd behaviour is left to solve:
– When SKINNED=False >> the sizes drop down to “original” = what was set at design time.
[attachment=9331:non-skinned-32x32default.png]
Whatever I do, changing the TsVirtualImageList's size at runtime >> does not help. (Size calculated dinamically during run.)
It should look like this: [attachment=9332:non-skinned-Should-look-like-this.png]
(My code -with streched icons- worked with “normal” TImageList, before I've changed to AC.)
This is a simplified version:
Code:
Screen.MenuFont.size := 16;
Screen.IconFont.size := 16;
sMenuPicsVirtList.Width := 64;
sMenuPicsVirtList.Height:= 64;
MainMenu1.Images := sMenuPicsVirtList;
PopupMenu1.Images := sMenuPicsVirtList;
Do you know any workaround to solve this?