hello

I have attached a image of my tablewidget. i have highlighted area in red..
i wont to remove it...

TableWidget.png

its a tablewidget inside a panel and its inside Gridlayout with no spacing in layout.

i have 2 stylesheets
Panle style sheet :-
Qt Code:
  1. background-color: qlineargradient(spread:pad, x1:0.489, y1:0, x2:0.489, y2:0.086, stop:0 rgba(209, 224, 255, 255), stop:0.977273 rgba(255, 255, 255, 255));
To copy to clipboard, switch view to plain text mode 

Tablewidgeet stylesheet :-
Qt Code:
  1. /* QHeaderView::section {
  2. background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:0.892, stop:0 rgba(212, 236, 255, 255), stop:1 rgba(225, 240, 255, 255));
  3.  
  4.   border: 1px solid rgb(188,188,191);
  5.  }*/
  6. QHeaderView::section {
  7. background-color: qlineargradient(spread:reflect, x1:0.500318, y1:1, x2:0.512, y2:0.211, stop:0.0795455 rgba(164, 221, 255, 234), stop:1 rgba(234, 254, 255, 227));
  8. border: 1px solid rgb(188,188,191);
  9. }
  10.  
  11.  
  12. gridline-color: rgb(188, 188, 188);
  13. background-color: rgba(255, 255, 255,0);
  14. /*alternate-background-color: rgba(241, 241, 241,190);*/
  15. }
  16.  
  17. QTableWidget::item::selected{
  18. background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(229, 255, 189, 245), stop:1 rgba(229, 255, 189, 255));
  19. selection-color:black;
  20. }
  21.  
  22. /*=====================================================*/
  23.  
  24. background-color: rgb(255, 255, 255);
  25. }
To copy to clipboard, switch view to plain text mode