Setting default font

Before, you could set the font of a panel, and its children inherited that font as a default. This no longer seems to work. Should this work, or should I instead use theme/styles to do it?

Hmm, I think this is only valid in preview, as it seem to use the correct fonts when building