Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPushButton font size error
QtWS25 Last Chance

QPushButton font size error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qpushbuttonfont sizestylesheettext
2 Posts 1 Posters 1.3k 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.
  • W Offline
    W Offline
    Wishmaster84
    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.

    W 1 Reply Last reply
    0
    • W Wishmaster84

      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.

      W Offline
      W Offline
      Wishmaster84
      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 Extensions
      • Unsolved