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. StyleSheet in QSlider [Markings/Ticks become invisible]

StyleSheet in QSlider [Markings/Ticks become invisible]

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 Posters 3.6k Views 2 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.
  • S Offline
    S Offline
    Sidii
    wrote on last edited by
    #1

    Dear All,

    Whenever i try to set the style-sheet in QSlider for handle and groove then all the ticks become invisible. Is there any way to show the ticks (markings) in QSlider?

    Please let me know.

    Thanks

    Siddharth

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

      Hi,

      What style sheet are you setting on your QSlider ?

      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
      • xiazeyiX Offline
        xiazeyiX Offline
        xiazeyi
        wrote on last edited by
        #3

        I encounter the same problem when I try to use the stylesheet to customize a horizontal QSlider widget.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Unfortunately styling ticks is a long-standing deficiency of QSlider. It's either stylesheet or ticks.

          QTBUG-3304
          QTBUG-3564
          These are not even assigned so there's little to no chance it will be implemented.

          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