Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPushButton font size error
Qt 6.12 LTS is out! See what's new in the release blog

QPushButton font size error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qpushbuttonfont sizestylesheettext
2 Posts 1 Posters 2.0k Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    We have an application that works on a x86 platform with Windows CE 6.0, using 4.6.x Qt Libraries. The main interface contains several QPushButtons, in which we change text runtime. In two of these buttons we change colour too, using setStylesheet and passing as parameter a coloured image for the button. During the execution of the application, accidentaly, the text inside the two buttons became very small, while the other buttons, even if they have the same default fonts, didn't have this problem. It never happened before. Do you have any idea about it?
    Thank you.

    ? 1 Reply Last reply
    0
    • ? A Former User

      Hi,

      We have an application that works on a x86 platform with Windows CE 6.0, using 4.6.x Qt Libraries. The main interface contains several QPushButtons, in which we change text runtime. In two of these buttons we change colour too, using setStylesheet and passing as parameter a coloured image for the button. During the execution of the application, accidentaly, the text inside the two buttons became very small, while the other buttons, even if they have the same default fonts, didn't have this problem. It never happened before. Do you have any idea about it?
      Thank you.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      The application runs in RAM, with all the qt dll useful for the deployment. Is it possible that a RAM corruption can cause a problem related to interface (font corruption, background image corruption...)?
      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
      • Unsolved