App.setStyleSheet(“QTableView::item { padding: 5px;}”) PyQt5 is not working correctly. How to fix it?

前端 未结 0 1468
悲&欢浪女
悲&欢浪女 2020-11-21 05:08

I wanted to add spaces between the elements of the PyQt table. Here is a line of code.

app. setStyleSheet ("QTableView::item { padding: 5px;}")


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题