Quick question.
I want my QLabel present a text of 2pt size. I thought the code below would be correct. It is not as no matter what number I put instead of 2 the size stays the same (~12pt). How can I force smaller text?

Qt Code:
  1. QFont mainHeaderFont("Helvetica [Cronyx]",2,QFont::Normal);
  2. mainHeader.setFont(mainHeaderFont);
To copy to clipboard, switch view to plain text mode