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. How to add scrollbar or scrollview QML ComboBox 's dropdown menus
Forum Updated to NodeBB v4.3 + New Features

How to add scrollbar or scrollview QML ComboBox 's dropdown menus

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 3.2k 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.
  • R Offline
    R Offline
    RamK
    wrote on last edited by
    #1

    In QML combobox, is there any way customize the combobox dropdown popup menu to have custom background for items and show scrollbar alongwith ?

    p3c0P 1 Reply Last reply
    0
    • R RamK

      In QML combobox, is there any way customize the combobox dropdown popup menu to have custom background for items and show scrollbar alongwith ?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @RamK
      Have a look at this post for customizing items. However IMO adding a ScrollView is not possible unless you create your own custom ComboBox implementation.

      157

      1 Reply Last reply
      0
      • jiancaiyangJ Offline
        jiancaiyangJ Offline
        jiancaiyang
        wrote on last edited by
        #3

        In my memory, the scroll bar automatically shows when the candidate items are more than the screen could visualize.

        我们自己的论坛:http://qtdream.com
        擅长三维角色仿真动画。

        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