Search code examples
delphifiremonkey

Is there a way to remove padding from the checkbox itself in FMX?


What im trying to achive is that all components are aligned to the left ( red line ) But as you can see checkboxes and radiobuttons has some strange padding even tho padding itself is set to 0.

enter image description here

Can anyone help me with this one?


Solution

  • Seeing your tags I'm assuming you are using the FMX framework. This can be achieved by right clicking the Checkbox in design time > Click Edit Default Style > Click on the little box and set the "Align" property to left. The same applies to the radio button. Lastly close the Style Designer tab and click Yes to save the changes.