Commit 514291c4 authored by Ellen Dekkers's avatar Ellen Dekkers

Set correct offsets when resizing the viewer (Verified: resizing the viewer to...

Set correct offsets when resizing the viewer (Verified: resizing the viewer to its current size does not change anything)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10466 383ad7c9-94d9-4d36-a494-682f7c89f535
parent db43a2cb
......@@ -1280,7 +1280,8 @@ void Core::resizeViewers(int _width, int _height ){
//+4,+20 to to get the correct dimension when using snapshotFunction
coreWidget_->glView_->resize(_width+4, _height+20);
// coreWidget_->glView_->resize(_width+4, _height+20);
coreWidget_->glView_->resize(_width+6, _height+6);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment