Position of text in a text field

Hello,

when not using any styles text has a nice offset (padding?) from the border of a regular text field.

This offset is not reproducable when using whatever style settings. Can anyone tell me what the style setting is for a field that has no style (the default without styles)?

Thanks!
Patrick

It depends which Look & Feel you are using

The thing is: whatever LAF I am using (currently “Windows”), I see this effect. Usually there is a small offset between the field border and text. As soon as I use styles (I think especially border related styles) I don’t manage to reproduce this look exactly.

You can see the difference here:

solved it myself. It’s the margin property that manages that sort of thing!

Thanks
Patrick