V
V
Victor Potebenko2020-11-21 00:32:33
css
Victor Potebenko, 2020-11-21 00:32:33

app.setStyleSheet("QTableView::item { padding: 5px;}") PyQt5 not working properly. How to fix?

Hello, I wanted to add spaces between PyQt table elements. Here's the line of code.

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

Instead of divisions between the cells of the table, it turned out to be simply an increase in the cells themselves.

Here is a picture of what it should look like
rkRBT.png

Thank you in advance for helping me solve the problem

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question