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)
- TBCTrackBarUpDown OnMouseDown event not working HOT 3
- bgracontrols and Lazarus HOT 1
- TBCComboBox hint does not display in a TStatusBar
- [7.5] Cannot compile package with FPC 3.0.4 HOT 6
- SVG stretchDraw causes access violation HOT 18
- Lazarus build error during instalation, linux (POP OS 22.04) FPC 3.2.2 lazarus 2.2.0 HOT 4
- BGRACONTROLS can not be installed on Lazarus 2.0.8 x64 HOT 6
- Memory leak with TBGRASVGImageList HOT 8
- question DTAnalogGauge negative value HOT 2
- Rounding corners feature is not working on Windows HOT 3
- BorderSpacing properties missing from TBGRAFlashProgressBar
- Memory leak in BGRABitmap when calling SetSize for a very large image HOT 1
- BGRABitmap cannot be compiled with current Laz/main after removal of deprecated LazUtf8Classes HOT 3
- 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
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.