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. Qt::WA_MacSmallSize don't work for all child widgets
Forum Updated to NodeBB v4.3 + New Features

Qt::WA_MacSmallSize don't work for all child widgets

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.0k 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.
  • C Offline
    C Offline
    cincirin
    wrote on last edited by
    #1

    I have a form derived from QWidget with Qt::Tool window flag. In Mac OS Qt::Tool window look unusual with larger font for all widgets.
    !http://s3.postimage.org/ykwm23qub/Tool_widget.png(Mac Tool Widget )!

    If I set Qt::WA_MacSmallSize attribute on this form all child widgets except labels are rendering perfectly. So spin-boxes and button box are good, but all labels still has larger font. I need to manually set Qt::WA_MacSmallSize attribute for every label. Has anyone encounter this problem or do I need to create new bug report ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cincirin
      wrote on last edited by
      #2

      I forgot to mention I use Qt 4.8.4 ...

      1 Reply Last reply
      0
      • R Offline
        R Offline
        ruslan_zasukhin
        wrote on last edited by
        #3

        We have put bug report about similar issue with small fonts and not correctly working controls (at least ComboBox and Tabs).

        We also want more flexible way to control this parameter.

        https://bugreports.qt.io/browse/QTBUG-44207

        1 Reply Last reply
        0
        • R Offline
          R Offline
          ruslan_zasukhin
          wrote on last edited by
          #4

          We have put bug report about similar issue with small fonts and not correctly working controls (at least ComboBox and Tabs).

          We also want more flexible way to control this parameter.

          https://bugreports.qt.io/browse/QTBUG-44207

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cincirin
            wrote on last edited by
            #5

            Ok, thanks :-) I totally forgot about it. So it seems you have this error for others controls too with Qt::WA_MacSmallSize attribute set.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cincirin
              wrote on last edited by
              #6

              Ok, thanks :-) I totally forgot about it. So it seems you have this error for others controls too with Qt::WA_MacSmallSize attribute set.

              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