Unsolved Drawing scroll bar on top of table content
-
Is there an elegant way to do this? I'd like the vertical scroll bar on the right side to be drawn over top of the items/cells in the table, and also only be as tall as the content of the table (i.e., not drawn over top of the column headers).
-
Hi,
Do you mean that the default scrollbars of e.g.
QTableView
don't do what you want ? -
I might have mixed it up with something else. So drawing it on top is the default behaviour?
Also, Is there a way to set the track to transparent? I can change the color of it but it defaults to light gray when I set it to transparent.
-
Take a look at the various images in the QTableView details.
I don't remember whether transparency is easily achievable for that part.