title: setFont() Applying Everything except Size Changes
body: <p>I am trying to apply Class-Based Font changes, and have found this information: <a href="https://stackoverflow.com/questions/63442415/changing-font-size-of-all-qlabel-objects-pyqt5">Changing font size of all QLabel objects PyQt5</a></p>
  <pre><code>QFont font_label = QFont(&quot;MS Shell Dlg 2&quot;, 12, QFont::Normal);
  QApplication::setFont(font_label, &quot;QLabel&quot;);
  </code></pre>
  <p>The above code successfully applies everything except the Font Size, and calling <code>font_label.setPointSize(x);</code> does not change anything.</p>
  <p><strong>Project Details:</strong></p>
  <ul>
  <li>Using Qt 5.12.11 with CMake and MSVC</li>
  <li><strong>Creating .ui files with QT Designer</strong></li>
  <li>Besides implementing QDarkStlyeSheet I do nothing relevant with Style Sheets</li>
  <li>No other Font alterations appear in my code</li>
  </ul>
  <p><strong>I have also discovered odd reproducible examples:</strong></p>
  <ul>
  <li><p>I thought it had to do with my QLabels being RichText, but changing them all to PlainText did not solve anything.</p>
  </li>
  <li><p><strong>The only QLabel's that resize are default pointSize ones</strong></p>
  </li>
  <li><p>My layouts do not seems to be imposing anything that would limit their size changes, and the above situations seems to support this.</p>
  </li>
  <li><p>This problem occurs when trying to change the font size in any direction.</p>
  </li>
  </ul>
  <p><strong>UI File:</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;ui version=&quot;4.0&quot;&gt;
   &lt;class&gt;MreApp&lt;/class&gt;
   &lt;widget class=&quot;QMainWindow&quot; name=&quot;MreApp&quot;&gt;
    &lt;property name=&quot;geometry&quot;&gt;
     &lt;rect&gt;
      &lt;x&gt;0&lt;/x&gt;
      &lt;y&gt;0&lt;/y&gt;
      &lt;width&gt;1920&lt;/width&gt;
      &lt;height&gt;1050&lt;/height&gt;
     &lt;/rect&gt;
    &lt;/property&gt;
    &lt;property name=&quot;windowTitle&quot;&gt;
     &lt;string&gt;MreApp&lt;/string&gt;
    &lt;/property&gt;
    &lt;property name=&quot;styleSheet&quot;&gt;
     &lt;string notr=&quot;true&quot;/&gt;
    &lt;/property&gt;
    &lt;widget class=&quot;QWidget&quot; name=&quot;Back&quot;&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label_1&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;490&lt;/x&gt;
        &lt;y&gt;660&lt;/y&gt;
        &lt;width&gt;95&lt;/width&gt;
        &lt;height&gt;20&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;font&quot;&gt;
       &lt;font&gt;
        &lt;pointsize&gt;8&lt;/pointsize&gt;
       &lt;/font&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;I start size 8&lt;/string&gt;
      &lt;/property&gt;
      &lt;property name=&quot;textFormat&quot;&gt;
       &lt;enum&gt;Qt::PlainText&lt;/enum&gt;
      &lt;/property&gt;
      &lt;property name=&quot;alignment&quot;&gt;
       &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label_4&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;690&lt;/x&gt;
        &lt;y&gt;80&lt;/y&gt;
        &lt;width&gt;481&lt;/width&gt;
        &lt;height&gt;131&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;font&quot;&gt;
       &lt;font&gt;
        &lt;pointsize&gt;10&lt;/pointsize&gt;
       &lt;/font&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;Try Draggin in a new QLabel in QT Designer, it will listen to the code temporarily.&lt;/string&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label_2&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;660&lt;/x&gt;
        &lt;y&gt;570&lt;/y&gt;
        &lt;width&gt;95&lt;/width&gt;
        &lt;height&gt;20&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;font&quot;&gt;
       &lt;font&gt;
        &lt;pointsize&gt;10&lt;/pointsize&gt;
       &lt;/font&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;I start size 10&lt;/string&gt;
      &lt;/property&gt;
      &lt;property name=&quot;textFormat&quot;&gt;
       &lt;enum&gt;Qt::PlainText&lt;/enum&gt;
      &lt;/property&gt;
      &lt;property name=&quot;alignment&quot;&gt;
       &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label_3&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;780&lt;/x&gt;
        &lt;y&gt;570&lt;/y&gt;
        &lt;width&gt;95&lt;/width&gt;
        &lt;height&gt;20&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;font&quot;&gt;
       &lt;font&gt;
        &lt;pointsize&gt;10&lt;/pointsize&gt;
       &lt;/font&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;I start size 10&lt;/string&gt;
      &lt;/property&gt;
      &lt;property name=&quot;textFormat&quot;&gt;
       &lt;enum&gt;Qt::PlainText&lt;/enum&gt;
      &lt;/property&gt;
      &lt;property name=&quot;alignment&quot;&gt;
       &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label_5&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;1190&lt;/x&gt;
        &lt;y&gt;570&lt;/y&gt;
        &lt;width&gt;371&lt;/width&gt;
        &lt;height&gt;16&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;font&quot;&gt;
       &lt;font&gt;
        &lt;pointsize&gt;10&lt;/pointsize&gt;
       &lt;/font&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;(The Label Below is a fresh one, dragged in from QT Designer)&lt;/string&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
     &lt;widget class=&quot;QLabel&quot; name=&quot;label&quot;&gt;
      &lt;property name=&quot;geometry&quot;&gt;
       &lt;rect&gt;
        &lt;x&gt;1270&lt;/x&gt;
        &lt;y&gt;690&lt;/y&gt;
        &lt;width&gt;201&lt;/width&gt;
        &lt;height&gt;61&lt;/height&gt;
       &lt;/rect&gt;
      &lt;/property&gt;
      &lt;property name=&quot;text&quot;&gt;
       &lt;string&gt;TextLabel&lt;/string&gt;
      &lt;/property&gt;
     &lt;/widget&gt;
    &lt;/widget&gt;
    &lt;action name=&quot;menu_new&quot;&gt;
     &lt;property name=&quot;text&quot;&gt;
      &lt;string&gt;New&lt;/string&gt;
     &lt;/property&gt;
    &lt;/action&gt;
    &lt;action name=&quot;menu_load&quot;&gt;
     &lt;property name=&quot;text&quot;&gt;
      &lt;string&gt;Load&lt;/string&gt;
     &lt;/property&gt;
    &lt;/action&gt;
    &lt;action name=&quot;menu_save&quot;&gt;
     &lt;property name=&quot;text&quot;&gt;
      &lt;string&gt;Save&lt;/string&gt;
     &lt;/property&gt;
    &lt;/action&gt;
    &lt;action name=&quot;menu_saveAs&quot;&gt;
     &lt;property name=&quot;text&quot;&gt;
      &lt;string&gt;Save As&lt;/string&gt;
     &lt;/property&gt;
    &lt;/action&gt;
    &lt;action name=&quot;menu_userManual&quot;&gt;
     &lt;property name=&quot;text&quot;&gt;
      &lt;string&gt;User Manual&lt;/string&gt;
     &lt;/property&gt;
    &lt;/action&gt;
   &lt;/widget&gt;
   &lt;resources/&gt;
   &lt;connections/&gt;
  &lt;/ui&gt;
  
  </code></pre>