PDA

View Full Version : Change QTableview



wparja
11th September 2011, 23:39
How do I increase the width of the vertical scroll QTableView, already tried to use styles, the children of QTableView access and change them, increasing area of the scroll area or decreasing the viewport, and could not, change,
currently it is well

_______________________
HEADER
______________________
| H |........................ | S |
| E | viewport............ | C |
| A |........................ | R |
| D |........................ | O |
| E |........................ | L |
|_R_|_______________| L |


must be well

_______________________
HEADER
______________________
| H |........................ |.....S..... |
| E | viewport........... |.....C..... |
| A |........................ |.....R..... |
| D |........................ |.....O.... |
| E |........................ |.....L..... |
|_R_|_______________|.....L..... |

any suggestions? thanks.

ChrisW67
12th September 2011, 00:48
I guess a style sheet applied to the table view could do want you want:
Qt Style Sheets Reference
Look at the QScrollbar section in the reference.

wparja
12th September 2011, 18:38
thanks Chris, it worked perfectly