Answer the question
In order to leave comments, you need to log in
How to change the thickness of cell borders in QTableView using CSS?
Hello. I use a program from Siemens for building SCADA systems (WinCC OA), which is built on Qt. You cannot directly work with the Qt library in it, but you can change the display of graphic objects using CSS.
I need to change the thickness of cell borders (lines between cells). I found how to change the color of cell borders, but I can’t find anywhere how to change the thickness.
I also found how to change the width of the outer border of the table, but how to change the width of the cell borders!?
Answer the question
In order to leave comments, you need to log in
Somewhere I found this solution:
QTableWidget::item {
border: 5px solid #CCCCCC;
}
QTableWidget::item {
border-right: 5px solid #CCCCCC;
border-radius: 10px;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question