Hello,
I have noticed that a few of the groups I create exactly match the outermost edges of the objects it contains, while other groups have a margin of a few extra pixels around the outer most object pixels.
Why is this, and how can I make it so that every group has a border that is exactly the same as the outermost pixel of the objects the group contains?
I have tried setting the borderWidth to 0, but it does not work.
Thanks!
Phil E.
Group Margins
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Group Margins
Hi Phil,
if you create a group it has a default margin of 4, i.e. leftMargin, rightMargin, topMargin and bottomMargin are 4.
In the inspector for the group under Text Formatting you can set the margins to 0 and the group will have the same outermost pixel as the objects (assuming you don't set the border of the group)
Kind regards
Bernd
if you create a group it has a default margin of 4, i.e. leftMargin, rightMargin, topMargin and bottomMargin are 4.
In the inspector for the group under Text Formatting you can set the margins to 0 and the group will have the same outermost pixel as the objects (assuming you don't set the border of the group)
Kind regards
Bernd
Re: Group Margins
Bernd,
Perfect answer, thank you very much! I had not realized the margins were controllable in the Text Formatting pane of the Property Inspector.
Best,
Phil E.
Perfect answer, thank you very much! I had not realized the margins were controllable in the Text Formatting pane of the Property Inspector.
Best,
Phil E.
Re: Group Margins
Hi.
Just a note that anything that is settable in the property inspector is settable as a property by script. Look up "margin" in the dictionary. In fact, the property inspector is a small subset of available properties for any particular object.
My real point is that if you have an issue with, say, "margins", there is a good chance the dictionary will have the answers.
Craig Newman
Just a note that anything that is settable in the property inspector is settable as a property by script. Look up "margin" in the dictionary. In fact, the property inspector is a small subset of available properties for any particular object.
My real point is that if you have an issue with, say, "margins", there is a good chance the dictionary will have the answers.
Craig Newman
Re: Group Margins
Noted. Thank you, Craig.
Phil E.
Phil E.