I've been bothered by this problem for a while.
If you add a frame to multileader text, Autocad places the frame stupidly close to the text.
I just worked out a way to trick Autocad into increasing the gap, but it is far from an ideal solution:
For multiline text you may need to adjust the line space factor as well.
It would be far better if Autodesk added a border offset factor to the frame, or better yet add a checkbox to the background mask dialog within the mtext editor to add a frame.
Hope this helps.
I found that having a colour 255 full stop with a size bigger than the rest of the text at the beginning and end over every line creates a suitable gap between the actual text and the text box in all directions.
For multi-lined text, adjusting the line spacing factor to something below will fix the spacing with a bit of fiddling.
The value is based on the text height. A factor of 1.0 exactly fits the multiline text object. A factor of 1.5 (the default) extends the background by 0.5 times the text height.
The opaque background is applied when you exit the editor.
That's not really the problem we've been encountering. Changing the background offset, for Multileaders, for some unkown reason, doesn't change the proximity of the Text Frame, when set to 'Yes', and there doesn't seem to be a variable determining the Text Frame Offset.
I'm looking for some detail on this subject. Does 2012 have better control of this feature?
The posted "work around" does create an increased space, but my most common need is generating datum leaders with only 1 charater and providing this as a solution to my entire group, will likely not go over very well. My current work around is a block leader arrangement (multiple actually, for various positions) with embedded attribute, for the datum letter.
The posted AutoCAD help solution (using a background mask) is not working for me. Yes I can create a BG mask, but this is not affecting the size of the text frame.
I would like to be able to just use the multileader tool to create these datums, so I can simplify my automation tools processing.
Some confusing responses here... The title of this thread is for MLeader Text frame gap, which ultimately is the gap for the masking applied when selecting "YES" to masking on an MLEADER... In 2012 there is still only a yes or no option for masking, not an option to actually change this from 1.5 to 1.1 for example on the MLEADER.
If anyone has found a way to change the variable controlling the gap of the text (aka masking limits) on the MLEADER, please post here. From what I can tell it's on or off and the gap value is fixed.
Autodesk it's probably time to fix this one, or provide a valid solution to adust the text frame box extents, "Masking Offset" for the MLEADERS. Nothing like having a pile of MTEXT set to 1.1 offset and all the MLEADERS at the overkilled 1.5 default value.