• 1503阅读
  • 0回复

qtableview样式问题 [复制链接]

上一主题 下一主题
离线hfutzhu
 

只看楼主 倒序阅读 楼主  发表于: 2019-08-06
QTableView 我设置了qss:如下:QTableView {color: white;gridline-color: white;background-color: rgb(108, 108, 108);alternate-background-color: rgb(64, 64, 64);selection-color: white;selection-background-color: rgb(0, 187, 0);border: 0px groove gray;border-radius: 0px;/*padding: 2px 4px;*/}QHeaderView {color: white;font: bold 10pt;background-color: rgb(108, 108, 108);border: 1px solid rgb(144, 144, 144);border-left-color: rgba(255, 255, 255, 0);border-top-color: rgba(255, 255, 255, 0);min-height:29px;}QHeaderView::section {color: white;background-color: rgb(64, 64, 64);border-left: 1px solid #f6f7fa;border-radius:0px;border-color: #f6f7fa;}
但是表头的分割线和内容的分割线对不齐,请教各位大神!!!!
快速回复
限100 字节
 
上一个 下一个