We can't set the preview font on the preview text area before we've mapped the property widgets to the model. We have to grab the values out of the model to build a QFont, which is easier to grab from the mapped and loaded widgets. We also need to set the initial font on the range preview too. The previews now have the correct font the first time the editor is opened.
We can't set the preview font on the preview text area before we've mapped the property widgets to the model. We have to grab the values out of the model to build a QFont, which is easier to grab from the mapped and loaded widgets. We also need to set the initial font on the range preview too. The previews now have the correct font the first time the editor is opened.