Padding between buttons
Posted: 20 Sep 2013, 20:48
I am programmatically adding buttons to a Stackpanel.All is well but there are spaces between
buttons as shown in the image below.

I've tried using SnaptoDevicePixels instead of UseLayoutRounding property at GUIRoot after a Google search as a remedy to the problem but it seem Noesis does not respect to the property.
Also how can I set dependency properties in unity script? I am guessing it's done with SetValue() but I was unable to use it for SnaptoDevicePixels property. Should I define it myself? will it work in that case?
buttons as shown in the image below.
I've tried using SnaptoDevicePixels instead of UseLayoutRounding property at GUIRoot after a Google search as a remedy to the problem but it seem Noesis does not respect to the property.
Also how can I set dependency properties in unity script? I am guessing it's done with SetValue() but I was unable to use it for SnaptoDevicePixels property. Should I define it myself? will it work in that case?