我尝试在QGraphicsView上调用
这是问题的截图:
有什么命令可以完全删除QGraphicsView的边框?
self.setStyleSheet("background: transparent; border: transparent;")
,但仍然会在顶部边缘留下1像素的边框。我还尝试将border: transparent;
替换为border-style: none;
,但也没有起作用。这是问题的截图:
![Problematic line](https://istack.dev59.com/SijEo.webp)
graphicsView.setStyleSheet("border: 8px solid red;")
- Kel Solaar