16 TGHorizontalFrame*
f =
new TGHorizontalFrame(p);
17 p->AddFrame(f,
new TGLayoutHints(kLHintsNormal|kLHintsExpandX));
22 int lo,
int ro,
int to,
int bo)
26 TGLabel *
l =
new TGLabel(p, txt);
27 p->AddFrame(l,
new TGLayoutHints(kLHintsNormal, lo,ro,to,bo));
28 l->SetTextJustify(kTextRight);
30 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)