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. Through the mouse to drag the column width
QtWS25 Last Chance

Through the mouse to drag the column width

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.0k 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
    happydoog
    wrote on last edited by
    #1

    I use the QTableWidget and I need to drag the column width from 100 to 0 with mouse.But now i can only drag to about min 1cm width,then it wasn't smaller any more.
    Anyone can help to tell me how to do ?Thanks!

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      There are settings for the minimum column width! It's probably set to none zero and it's controlled by the horizontalheader
      horizontalHeaderMinimumSectionSize should do the trick.
      Greetz

      Greetz, Jeroen

      1 Reply Last reply
      0
      • H Offline
        H Offline
        happydoog
        wrote on last edited by
        #3

        Hi Greetz,
        It is OK!
        I am a new developr of QT, and this problem bothering me three days.
        Thank you very much!
        Bada
        [quote author="Jeroentje@home" date="1381750119"]Hi, There are settings for the minimum column width! It's probably set to none zero and it's controlled by the horizontalheader horizontalHeaderMinimumSectionSize should do the trick. Greetz[/quote]

        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