XS_MARK_TEXT_FRAME_BOX_HEIGHT_FACTOR
Category in Advanced options dialog box: Marking - general
By default Tekla Structures leaves a space of 0.5*text height between the text and the frame around the text. Use this advanced option to change the default value.
This advanced option is model specific and the setting is saved in the options database.
In the example below, the value was changed from 0.5 to 2.