its not working. Qt::ScrollBarAsNeeded is a default value that used in designer. i tried to set it manualy, thats what i got:no_effect.png
its not working. Qt::ScrollBarAsNeeded is a default value that used in designer. i tried to set it manualy, thats what i got:no_effect.png
I think this is because you have only one column (at least it seems so from the picture) and the column (not its contents) is visible so scrolling is not needed.
Last edited by Ashkan_s; 17th October 2012 at 10:59. Reason: spelling corrections
try this: change the scrolling mode to ScrollPerPixel and set a minimum width for the QTableWidget's horizontal header, for exampleam i have to add a fictive column to see the scroll?here tb is QTableWidget.Qt Code:
tb.horizontalHeader()->setMinimumWidth(minwidth);To copy to clipboard, switch view to plain text mode
it works too. thanks!
Bookmarks