Reputation: 21
I have a TCheckBox with a Font.Size of 40, Width is 400 and Height is 100. The box where the check is drawn is too small and I want it to be bigger. I played around with its property and I can't seem to find how to make it bigger.
I want the box area of TCheckBox to be adjusted.
Upvotes: 1
Views: 227
Reputation: 2216
Standard CheckBox component does not allow to do that. Only option will be to create custom style with big checkbox image and apply this style to your component. This is quite complicated to implement, and styles format can change with new version of Delphi, so you will have to update it.
Much easier will be to use component TJvgCheckBox from JVCL component suite. It is open source and free, and has separate properties to add checkbox pictures.
Upvotes: 0