fix background color
This commit is contained in:
1 parent
a8d79701f9
commit
fb4adda644
3 files changed
+8
-1
No files matched your search
@@ -34,7 +34,12 @@ SubWindowHandle::SubWindowHandle( QWidget * parent, UInt category ) :
|
||||
setParent( parent );
|
||||
setFocusPolicy( Qt::WheelFocus );
|
||||
setAttribute( Qt::WA_DeleteOnClose );
|
||||
setBackgroundRole( QPalette::Light );
|
||||
setBackgroundRole( QPalette::Background );
|
||||
QPalette Pal(palette());
|
||||
// set black background
|
||||
//Pal.setColor(QPalette::Background, Qt::white);
|
||||
//setPalette(Pal);
|
||||
setAutoFillBackground( true );
|
||||
setWindowIcon( QIcon( ":/images/playuver.png" ) );
|
||||
|
||||
// Create a new scroll area inside the sub-window
|
||||
|
||||
Reference in new issue
Block a user