Wish padding on views

I know but it would be handy if we could do it in the designer and that during compile
the above code gets added if the padding is not filled in with the defailt value (not 0;0;0;0 apparently)
 
You can get the current padding values again using javaobject with

Code: Copy
LeftPadding = JO.Runmethod("getPaddingLeft",Null)

And:
getPaddingTop
getPaddingRight
getPaddingBottom
getPaddingStart
getPaddingEnd

although the documentation isn't clear on the differences between Start and Left and End and Right.
 
I second the suggestion to add padding as a property in the designer. Would be easier (obviously) and much more discoverable.
 
Back
Top