Comments (7)
Working well, thankyou!
Now we have another working demo =)
from bgracontrols.
Hi Lainz. I am not sure it is possible because TBGRAThemeSurface accesses the Canvas property of the control and TWinControl doesn't have this property.
If I understand, TCheckListBox has "owner drawn" events where you would like to use TBGRAThemeSurface? Maybe, if at this point there is a canvas provided, it is possible to make an alternate constructor that takes the Canvas as well as a parameter.
from bgracontrols.
Hi yes it has a canvas. Sure an alternative constructor can do.
from bgracontrols.
Ok, Lainz. Go ahead and give it a shot with the alternate constructor idea. I think it's a promising approach. If you need further discussions or face any hurdles, I'm here to help and listen.
from bgracontrols.
Thank you I will try.
from bgracontrols.
Done. Seems that works fine.
But I don't have macOS retina to test, can you give a try, the demo is in bgracontrols\test\test_checklistbox
from bgracontrols.
Cool! I've checked it out and it works well.
I've made some adjustments by adding a scale factor and some margin. On MacOS, there's a frame rectangle that inverts the color and it was masking the square of the checkbox. With these changes, it looks good now.
Could you pull the latest and check on your end as well? Let me know if you have any further concerns.
from bgracontrols.
Related Issues (20)
- TBGRASVGImageList memory leak HOT 5
- TBCPanel ignores ChildSizing.VerticalSpacing when AutoSize is active
- TBCPanel always disable ParentBackground HOT 6
- Scale fonts and borders
- BGRASVGIMageList memory leak HOT 2
- New update BGRA bug HOT 1
- TColorSpeedButton, TBGRASpeedButton and TBGRAResizeSpeedButton don't print images from ImageList
- BGRASVGImageList saves different binary format per platform (patch available) HOT 15
- Memory leak version Version 8 ARM64 bit HOT 15
- unitbgraimagemanipulationdemo.pas does not compile HOT 3
- BGRAVirtualScreen bug HOT 16
- Failure to compile BGRABitmap with FPC 3.3.1 HOT 1
- TabOrder for BCMaterialEdit and other wont work
- Initial background of Themed Gauge and Clock mixed up pixels
- Forgetting to set a PopupMenu causes runtime exception HOT 1
- TBCComboBox in macOS ShowModal issues HOT 5
- Cannot compile in lazarus fixes, fpc fixes (BGRAKnob) HOT 1
- Update readme HOT 13
- TBGRAImageList Draw method not virtual 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 bgracontrols.