I used stylesheet to hide the boder follow, but it is not right.Can any body help me? how can i do this?
listView.setStyleSheet( "border-width:0px;");
I used stylesheet to hide the boder follow, but it is not right.Can any body help me? how can i do this?
listView.setStyleSheet( "border-width:0px;");
try this qss:
Qt Code:
{ border: none; }To copy to clipboard, switch view to plain text mode
thank you very much,![]()
Style sheets are bad and evil, so avoid them wherever possible. Use QFrame::setFrameShape() with QFrame::NoFrame.
Bookmarks