14 TGHorizontalFrame*
f =
new TGHorizontalFrame(
p);
15 p->AddFrame(
f,
new TGLayoutHints(kLHintsNormal | kLHintsExpandX));
19 TGLabel*
makeLabel(TGCompositeFrame*
p,
const char* txt,
int width,
int lo,
int ro,
int to,
int bo) {
22 TGLabel*
l =
new TGLabel(
p, txt);
23 p->AddFrame(
l,
new TGLayoutHints(kLHintsNormal, lo, ro,
to, bo));
24 l->SetTextJustify(kTextRight);
26 l->ChangeOptions(
l->GetOptions() | kFixedWidth);
TGHorizontalFrame * makeHorizontalFrame(TGCompositeFrame *p=nullptr)
TGLabel * makeLabel(TGCompositeFrame *p, const char *txt, int width, int lo=0, int ro=0, int to=2, int bo=0)