标签: python pyqt pyqt5 qtstylesheets
我想重新创建一个简单的表而不显示表头:
但是在隐藏标题和stretching them以避免空白之后,我得到了:
我正在使用的样式表:
QTableWidget{ background-color: transparent; }
我曾尝试modify headers style,但由于两个人都被隐藏了,所以没有用。它不必具有响应性,并且可以使用固定大小。