Comments (4)
Which version of Delphi are you using?
You can call UpdateIconFontsColorByStyle as explained in the Demo?
TStyleManager.TrySetStyle(LStyleName);
//Override default: use Windows 10 blue color for Windows and Windows10 Style
if SameText(LStyleName,'Windows') or SameText(LStyleName,'Windows10') then
IconFontsVirtualImageList.UpdateIconsAttributes(RGB(0, 120, 215), clBtnFace)
else
UpdateIconFontsColorByStyle(IconFontsVirtualImageList);
from iconfontsimagelist.
Delphi 11.2. I did not call UpdateIconFontsColorByStyle, but calling it only turn the icons grey-ish (as it gets sfButtonTextNormal instead of sfWindowTextNormal, what my code is using):
from iconfontsimagelist.
I don't understand in what context you are using the components.
First of all I suggest you to use TVirtualImageList and TIconFontsImageCollection as explained in the wiki: only in this way your application can share a single collection of images and have multiple forms with different DPI (on different monitors).
In the IconFontsImageListDemo Demo I don't have the problem you report, as you can see from this image. I don't understand what it depends on.
from iconfontsimagelist.
I attempted to create a minimal example to reproduce the behavior but failed to do so. The difference in my main application and the test is that in my main application the image is on a panel on a panel, and due to flickering issues during resizing the ParentBackground of said panels are set to False if any style (other than the system style) is selected.
As it turns out leaving ParentBackground on True solves the issue - which makes total sense.
I'll have to find a workaround for flickering, but the issue is NOT in any IconFonts component!
Thanks for the help!
from iconfontsimagelist.
Related Issues (20)
- Ver 2.2.2. - New features HOT 3
- Create Demo with use of VirtualImageList HOT 1
- Move/import images HOT 4
- Ghost component :-D HOT 1
- Partly ugly antialiasing effects HOT 1
- Some font is drawn incorrectly. HOT 10
- Changing ImageList FontColor don't affect to all Icons with null color HOT 1
- package 'dclfmxstd' not found HOT 5
- AV selecting icons from CharMap
- Some icons are not shown HOT 2
- [Feature Request] Delete all selected icons in the icon editor HOT 1
- Error compiling FMX design time package with 10.3 HOT 1
- Search for icon name in Icon Fonts Charmap HOT 2
- Segmentation Fault in Android HOT 6
- Issues when font is installed runtime HOT 8
- Editor does not show correctly the icons HOT 6
- [performance tip, not an issue] use `StopDrawing' and `BeginUpdate/EndUpdate` to greatly improve the performance HOT 1
- Add support for fonts with variable width characters .
- Don't auto-switch to dark mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iconfontsimagelist.