How to add padding between docked buttons?

1 Answer 69 Views
Buttons, RadioButton, CheckBox, etc Dock
Anna
Top achievements
Rank 1
Anna asked on 09 Jun 2022, 08:00 PM

Hello,

I have five buttons on a custom dockable control window. When I set the dock property for the buttons to top I want there to be padding between each button. I tried changing the buttons' margins, but that does not seem to do anything.

Thank you for your help!

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Jun 2022, 05:16 AM

Hi, Anna,

This seems to be more like a general programming question than related to the Telerik UI for WinForms suite. After some research, I have found the following StackOverflow thread which I believe is quite useful on this topic:

https://stackoverflow.com/questions/2737562/winforms-creating-padding-when-using-dock-properties 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Buttons, RadioButton, CheckBox, etc Dock
Asked by
Anna
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or