Hi.
This simple snipped code shows a black widget in place of a white one .
TGNumberEntryField *fBaF1NumberEntry1 = new TGNumberEntryField(fHorizontalFrame3,-1,0,TGNumberEntry::EStyle::kNESInteger);
fBaF1NumberEntry1->SetBackgroundColor(kWhite);
kWhite is in Rtypes.h from here
enum EColor { kWhite =0, kBlack =1, kGray=920,
kRed =632, kGreen =416, kBlue=600, kYellow=400, kMagenta=616, kCyan=432,
kOrange=800, kSpring=820, kTeal=840, kAzure =860, kViolet =880, kPink=900 };
what’s wrong?
Thanks for help, Bruno
_ROOT Version: 6.12.06
_Platform: Ubuntu
Compiler: Not Provided