View Full Version : How to hide QTableView Border
foxhengxing
5th April 2012, 11:08
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;");
mentalmushroom
5th April 2012, 11:22
try this qss:
QTableView
{
border: none;
}
foxhengxing
5th April 2012, 11:27
thank you very much,:)
Lykurg
5th April 2012, 12:31
Style sheets are bad and evil, so avoid them wherever possible. Use QFrame::setFrameShape() with QFrame::NoFrame.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.