mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:56:40 +00:00 
			
		
		
		
	OpenCS: Remove margin around the render window
This commit is contained in:
		
							parent
							
								
									b58a63e14e
								
							
						
					
					
						commit
						169fc6a61b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -52,6 +52,7 @@ RenderWidget::RenderWidget(QWidget *parent, Qt::WindowFlags f)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    osg::ref_ptr<osgQt::GraphicsWindowQt> window = new osgQt::GraphicsWindowQt(traits.get());
 | 
					    osg::ref_ptr<osgQt::GraphicsWindowQt> window = new osgQt::GraphicsWindowQt(traits.get());
 | 
				
			||||||
    QLayout* layout = new QHBoxLayout(this);
 | 
					    QLayout* layout = new QHBoxLayout(this);
 | 
				
			||||||
 | 
					    layout->setContentsMargins(0, 0, 0, 0);
 | 
				
			||||||
    layout->addWidget(window->getGLWidget());
 | 
					    layout->addWidget(window->getGLWidget());
 | 
				
			||||||
    setLayout(layout);
 | 
					    setLayout(layout);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue