how to handle control spacing in WPF window designer?
I'm trying to lay out controls in a WPF window in Visual Studio 2012,
using Designer. I want to adhere to MS guidelines, in particular - to
recommended spacing between controls, as specified here.
In Windows Forms Designer, I could've set margin a control (for example
top margin of 14 for unrelated controls, or 7 for related) - and drag it -
the light blue line to adjacent control would be my margin (between label1
and button1 on the picture):
In WPF, snaplines seem to be hardcoded to 10 pixels/units to container
(thicker red line), and 5 pixels between controls (thinner red line):
Is there any way to adjust the WPF Designer snaplines size?
Or any other way to conveniently adjust spacing between controls as per MS
guidelines?
No comments:
Post a Comment