Refined the colouring of widget to be more in sync with the defaults used in Qt.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14384 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -58,7 +58,7 @@ void Dialog::createGraphicsImplementation()
|
||||
float titleHeight = 10.0;
|
||||
osg::BoundingBox titleBarExents(_extents.xMin(), _extents.yMax(), _extents.zMin(), _extents.xMax(), _extents.yMax()+titleHeight, _extents.zMin());
|
||||
|
||||
osg::Vec4 dialogBackgroundColor(0.8,0.8,0.8,1.0);
|
||||
osg::Vec4 dialogBackgroundColor(0.84,0.82,0.82,1.0);
|
||||
osg::Vec4 dialogTitleBackgroundColor(0.5,0.5,1.0,1.0);
|
||||
|
||||
_group->addChild( style->createPanel(_extents, dialogBackgroundColor) );
|
||||
|
||||
Reference in New Issue
Block a user