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. QML - Unable to set the spinbox text color
QtWS25 Last Chance

QML - Unable to set the spinbox text color

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 660 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.
  • P Offline
    P Offline
    PimCl
    wrote on last edited by
    #1

    Hi,

    I am using QtQuickControls 2.14. I have added a SpinBox to my application. I am able to set the style for the up and down indicators, however I can't seem to figure out how to change the color and size of the value in the center of the spinBox. How (if possible) do I do this? I have read the documentation: SpindBox QML Type. Hopefully someone can help me on this.

    Regards,
    Pim

    raven-worxR 1 Reply Last reply
    0
    • P PimCl

      Hi,

      I am using QtQuickControls 2.14. I have added a SpinBox to my application. I am able to set the style for the up and down indicators, however I can't seem to figure out how to change the color and size of the value in the center of the spinBox. How (if possible) do I do this? I have read the documentation: SpindBox QML Type. Hopefully someone can help me on this.

      Regards,
      Pim

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @PimCl
      https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-spinbox

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PimCl
        wrote on last edited by
        #3

        @raven-worx Thank you very much! I must have missed this piece of documentation.

        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