Hi All,
Where it is possible to find an example of the TGTableLayout using.
My code is crushed when the next lines were added
fCFEff = fTab->AddTab(“Efficiency”);
fCFEff->SetLayoutManager(new TGVerticalLayout(fCFEff));
fGFeffinp = new TGGroupFrame(fCFEff,“Input”);
fGFeffinp->SetLayoutManager(new TGTableLayout(fGFeffinp,2,3,kFALSE,5,kLHintsNormal));
… some lines with initialization of TGLabel *fLefftype,…, TGTextButton *fTBefffile
fGFeffinp->AddFrame(fLefftype, new TGTableLayoutHints(0,0,0,0));
fGFeffinp->AddFrame(fCBefftype, new TGTableLayoutHints(1,1,0,0));
fGFeffinp->AddFrame(fLefffile, new TGTableLayoutHints(0,0,1,1));
fGFeffinp->AddFrame(fTEefffile, new TGTableLayoutHints(1,1,1,1));
fGFeffinp->AddFrame(fTBefffile, new TGTableLayoutHints(2,2,1,1));
If I commented last 5 lines then other part of code works.
I wanted to have:
line-1: TGLabel, TGComboBox
line-2: TGLabel, TGTextEntry, TGTextButton
Thanks in advance,
Andrei