Dear rooters,
take this macro:
void tbutton()
{
TCanvas *c = new TCanvas("c", "c", 300, 300);
TButton *b = new TButton("tb", "", 0.25, 0.25, 0.75, 0.75);
b->SetTextSize(0.9);
b->SetTextColor(2);
b->Draw();
}
With OpenGL.CanvasPreferGL: 0 the outcome is as expected (see att c.pdf)
with OpenGL.CanvasPreferGL: 1 TAttText methods seem not to work (see c_opengl.c)
Cheers
Otto
c_opengl.pdf (12.4 KB)
c.pdf (12.3 KB)