Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Sliding text in Combobox QML?

Sliding text in Combobox QML?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 766 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.
  • H Offline
    H Offline
    harip
    wrote on last edited by harip
    #1

    Is it possible to slide text in Combobox type in qml so as to display longer strings?

    I would like to implement something like this in qml.
    alt text

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      No option possible. You need to write your own combobox with this kind of animation.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mammamia
        wrote on last edited by
        #3

        @harip You can check this post for a scrolling text component
        https://kunalmaemo.blogspot.com/2011/06/marquee-text-element-with-qt-quick-qml.html

        Customize QQC2 COmpboBox and use the above TextElement as the contentItem of the ComboBox and handle Mouse hover event to start the scrolling animation.

        1 Reply Last reply
        2
        • H Offline
          H Offline
          harip
          wrote on last edited by
          #4

          @Mammamia Thank you for the information

          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