Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. All Qt labels font too small (Qt4)
Qt 6.11 is out! See what's new in the release blog

All Qt labels font too small (Qt4)

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 3.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlexSpivak
    wrote on last edited by
    #1

    Hi, we have a problem.
    On a PC (Windows 7) have all Qt labels to small font.
    Does anyone know it?

    Screenshot:
    https://cloud.sofistik.de/oc/public.php?service=files&t=911e12814549dfd6bc236c0ccea110f3

    regards
    Alex

    1 Reply Last reply
    0
    • P Offline
      P Offline
      primem0ver
      wrote on last edited by
      #2

      Does anyone know what? That question needs clarification.

      In the meantime I believe you can change the font using QWidget::setfont(...) method. You can create a QFont with whatever properties you want (including a larger font). If you want to use the same font but make it larger, start by getting the widget's current font (using QWidget::font() method) and then making a copy. Finally, set the font size using the Qfont methods.

      Documentation for those particular classes can be found on this sight.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Are you using a stylesheet somewhere in your application ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AlexSpivak
          wrote on last edited by
          #4

          Hi there,

          it is an old software from us.
          We do not use style sheets.
          We also use standart fonts, font sizes we default.
          It is a single PC makes demands on the problem.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            So you only have that problem on one PC ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AlexSpivak
              wrote on last edited by
              #6

              Yes, there is only one PC affected.
              Customer reports, it has always worked. For two weeks, he has the problem.
              Lately, nothing unusual was installed.
              Just uninstalled Java and made ​​flash update.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Windows automatic update ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AlexSpivak
                  wrote on last edited by
                  #8

                  Yes, automatic update

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Sorry, I meant, did one happen ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AlexSpivak
                      wrote on last edited by
                      #10

                      I guess so.
                      But the problem has already been done.
                      The customer has switched to a newer version, because there is no problem.
                      Thank you.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved