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. Is there any way to change move the drop down button of qcombobox to the left ?

Is there any way to change move the drop down button of qcombobox to the left ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 384 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.
  • T Offline
    T Offline
    thomasjohnaj
    wrote on last edited by
    #1

    I need to move the dropdown of QComboBox from right to left. How I can achieve it. QComboboxleftarrow.png

    J.HilkJ JonBJ 2 Replies Last reply
    0
    • T thomasjohnaj

      I need to move the dropdown of QComboBox from right to left. How I can achieve it. QComboboxleftarrow.png

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @thomasjohnaj have you tried
      setLayoutDirection(Qt::RightToLeft) ?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      1
      • T thomasjohnaj

        I need to move the dropdown of QComboBox from right to left. How I can achieve it. QComboboxleftarrow.png

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @thomasjohnaj
        I would try as @J-Hilk has suggested, but don't be surprised if that might mess up your left-right reading text :)

        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