Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Resizing horizontal Qtable header with different sizes
Forum Updated to NodeBB v4.3 + New Features

Resizing horizontal Qtable header with different sizes

Scheduled Pinned Locked Moved Solved Qt for Python
2 Posts 2 Posters 276 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.
  • W Offline
    W Offline
    walid761
    wrote on last edited by
    #1

    Hello,
    can anyone please help me , I want to create a tablewidget and set the width of ever column is differente then the other for example the (ID) column should be smaller then the (designation column).
    thank you

    JonBJ 1 Reply Last reply
    0
    • W walid761

      Hello,
      can anyone please help me , I want to create a tablewidget and set the width of ever column is differente then the other for example the (ID) column should be smaller then the (designation column).
      thank you

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @walid761
      So did you look at https://doc.qt.io/qt-5/qtableview.html#setColumnWidth ?

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved