ControlBox Labels - Alignment

Dear fellow Igorians,

I've been experiencing this issue for quite some time, but I've been delaying posting it here since it is not the biggest of my problems.

It has to do with the alignment of the GroupBox label (TitleStr) that leaves a margin which is not centered with the dimensions given to a given box. It seems there is no option to control alignment of the text with respect to the dimensions of the box, nor it seems to be possible to give exact coordinates of where the TitleStr should be placed. Is there any way to do this better?

Attached an illustrative example taken from a ControlBar of a graph.

Many thanks,

R.
You could use an untitled Groupbox below or underneath a titlebox control:

Window Panel0() : Panel
    PauseUpdate; Silent 1       // building window...
    NewPanel /W=(150,77,349,351)
    Slider slider0,pos={23.00,61.00},size={62.00,194.00},limits={0,100,5},value= 0
    GroupBox justABox,pos={13.00,51.00},size={94.00,212.00},frame=0
    TitleBox title0,pos={18.00,42.00},size={80.00,15.00},title=" Threshold (%) "
    TitleBox title0,labelBack=(61166,61166,61166),frame=0
EndMacro


--Jim Prouty
Software Engineer, WaveMetrics, Inc.
I'm just going to chime in to say that your picture appears to be what Windows does with a groupbox title. It *always* has the title indented that amount, no matter how long the title is, and no matter how big the groupbox is.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com