]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
workaround for background color in table header (in case with Salome style)
authorptv <ptv@opencascade.com>
Wed, 25 Oct 2006 08:40:47 +0000 (08:40 +0000)
committerptv <ptv@opencascade.com>
Wed, 25 Oct 2006 08:40:47 +0000 (08:40 +0000)
src/Qtx/QtxTable.cxx

index abc36e607fb19b23bed126154121c0cc100c28d3..7680137617993dd6e9ce51424e349ffe19d8c5c0 100644 (file)
@@ -584,7 +584,10 @@ bool QtxTable::StyleItem::drawPrimitive( QStyle::PrimitiveElement pe, QPainter*
   QColorGroup grp( cg );
   QColor c = h->backgroundColor( section );
   if ( c.isValid() )
+  {
     grp.setColor( QColorGroup::Button, c );
+    grp.setColor( QColorGroup::Light, c );
+  }
   if ( style() )
     style()->drawPrimitive( pe, p, r, grp, flags, opt );