Unsolved TableWidget Horizontal alignment
RogerBreton last edited by
I'm slowly getting the hang of QT.
I want to display my measurements inside a "Table".
So I use TableWidget. It works well except for a horizontal alignment problem.
This is the result of my work (after measurement is taken) :
See how all the numbers are aligned left (by default)?
This is despite having specified otherwise in Edit Widget dialog :
Have no idea what I'm doing wrong... Any help is appreciated.
Also, if you have any suggestions to edit the column widths?
nagesh last edited by
@RogerBreton did you modify the property through code for alignment?
Can you post the code used for set the data to Tablewidget?