css - Remove the vertical grid lines of a QTableView -
i have qtableview
shown below:
i want remove vertical lines table. tried set gridline-color
property equivalent background-color
, removed grid lines.
i want horizontal grid lines stay, , remove vertical ones. how can achieve ?
you can't. there no option qtableview
that.
however, can setting gridline-color
property background-color
(like did) and then setting border items of qtableview
; want horizontal grid lines, :
qtableview::item{ border-top : 1px solid black border-bottom : 1px solid black }
Comments
Post a Comment