You can find out the current font and font size using the TGadgetWindow::GetFont and TGadgetWindow::GetFontHeight functions: