Padding/Margin in style for form field

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

Padding/Margin in style for form field

Post by protectourlands » Mon Nov 11, 2019 7:35 pm

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: 23554
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Padding/Margin in style for form field

Post by Pablo » Mon Nov 11, 2019 9:10 pm

Padding in styles should work (for form elements)

You cannot set height in styles.

User avatar
protectourlands
 
 
Posts: 513
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: Padding/Margin in style for form field

Post by protectourlands » Mon Nov 11, 2019 10:28 pm

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: 23554
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Padding/Margin in style for form field

Post by Pablo » Tue Nov 12, 2019 7:32 am

Margin is only used by heading styles (see also the help).
But padding works correct for the editbox for me.

User avatar
protectourlands
 
 
Posts: 513
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: Padding/Margin in style for form field

Post by protectourlands » Tue Nov 12, 2019 3:32 pm

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