Padding/Margin in style for form field

Issues related to forms.
Post Reply
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Padding/Margin in style for form field

Post by protectourlands »

I have built a style in the style manager for a form editbox. I cannot get the padding or margin values to take effect. Are these not supported?

Also, is there a way to set the field height in the style?
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Padding/Margin in style for form field

Post by Pablo »

Padding in styles should work (for form elements)

You cannot set height in styles.
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: Padding/Margin in style for form field

Post by protectourlands »

It doesn't seem to be working.

Add an editbox to the page. Make a style with padding and/or margin. Apply the style to the editbox through the manager. All the attributes will apply instead of padding or margin.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Padding/Margin in style for form field

Post by Pablo »

Margin is only used by heading styles (see also the help).
But padding works correct for the editbox for me.
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: Padding/Margin in style for form field

Post by protectourlands »

Thank you Pablo. This all makes sense now. I was trying to space the edit boxes apart in the layout grid. I see now it has to be applied individually by margin through the Arrange tool.
Post Reply